On a linux box what are all the possible services of sending a mail,i can think of the service like sendmail,Qmail..
And how to restrict all possible ways of sending out mails from a linux box (RHEL5)
What is this error? This rdiff-backup
command is run in a shell script. How to resolve this issue?
ssh -l root 161.3.46.12 rdiff-backup [email protected]::/root/files/1/ /root/cloodon_sync
spawn ssh -l root 161.3.46.12 rdiff-backup [email protected]::/root/files/1/ /root/cloodon_sync
[email protected]'s password:
Host key verification failed.
Fatal Error: Truncated header string (problem probably originated remotely)
Couldn't start up the remote connection by executing
ssh -C [email protected] rdiff-backup --server
Remember that, under the default settings, rdiff-backup must be
installed in the PATH on the remote system. See the man page for more
information on this. This message may also be displayed if the remote
version of rdiff-backup is quite different from the local version (1.0.5).
<created>
[email protected]
</created>
I want to replace the above with but the username may vary i.e,[email protected] ,[email protected]...
<created>
[email protected]
</created>
What is the command to replace this in vim
%s/<created>\r*\r</created>/new string
I am trying to understand the rdiff-backup command which is already implemented to do backups.My question is What is the command to restore all files in one .gz backedup file using rdiff-backup command.Your comments have been very useful.
If i have files like
Available increments are:
Time Size Cumulative size
-----------------------------------------------------------------------------
Sun Jul 25 23:31:34 2010 4.19 GB 4.19 GB (current mirror)
Sat Jul 24 23:31:34 2010 1.28 MB 4.19 GB
Fri Jul 23 23:31:34 2010 0 bytes 4.19 GB
Thu Jul 22 23:31:34 2010 1.26 MB 4.19 GB
Wed Jul 21 23:31:37 2010 1.11 MB 4.19 GB
Tue Jul 20 23:31:33 2010 1.23 MB 4.20 GB
There will be many .gz files so lets say iwant to recover all the data till Thu Jul 22 23:31:34 2010 .How do i do it.How to restore all the file in a .gz file
We are using rdiff-backup command to make incremental backups.My question is that how to view the files in a particular backup i.e, .gz file
Also how to recover all the files in a particular gz file
If a backup was made using rdiff-backup command for some particular date what is the format that should be given to restore the files for that particular date.
rdiff-bakup -r "dateformat" backup/a.txt /destination-dir
Thanks..
There is a tar file which was created few days before, this tar file was created on the /files directory.
And now /files directory has new files uploaded in it.
My question is how to create another files with only the new files uploaded.
Thanks..
In ubuntu i have downloaded flash rpm,how to install it.i am new to ubuntu and i have tried the following
alien -k flash-plugin-10.0.45.2-release.i386.rpm
alien -i flash-plugin-10.0.45.2-release.i386.rpm
rpm -i flash-plugin-10.0.45.2-release.i386.rpm //this works in rhel versions
The above doesn't seem to work..
Thanks..
Does ssh-keygen -t rsa work if only set for root user
i.e, if the username on local system is sodium and i generate the key using the above said command and on the remote system if i place the key in /root/.ssh authorized_keys ,this works.
But on the remote system if the key is placed in /home/natrium/.ssh authorized_keys
This still prompts for a password.Is this the expected behavior or is that some thing wrong in the above procedure
Thanks..
Let say i have a source directory which contains The contents /foo/a /foo/b(These are the files in a directory on a remote system)
using rdiff command i make a backup as
rdiff-backup [email protected]::/foo backups
And a,b are now present in my backups directory.And then i delete file a from the remote system and again i do a sync so my local directory has the file b only.
My question is that how do i restore file a if the deletion and sync is done on the same day
Thanks..
All,
How is that we can convert an IP to a domain name address on linux machine.
Suppose i always access my Pc with http://127.0.0.1 from the browser
I want to change this to my.com
Thanks....
All,
How do we calculate time taken for a website to download and also from different bandwidth
Is it possible to prevent any user to not use commands like ls, rm and other system commands which could harm the system. But the users should be able to execute shell programs.