Mailinglist Archive: opensuse (3785 mails)
| < Previous | Next > |
Re: [SLE] using CPIO to backup from the output of a file
- From: Jim Bonnet <jimbo@xxxxxxx>
- Date: Wed, 01 Oct 2003 08:10:15 -0700
- Message-id: <3F7AEE57.2010308@xxxxxxx>
Damian Buckley wrote:
I think what you mean is that you want to backup these two dir's from cron? If not... sorry for the interruption =)
But:
find /home /usr | cpio -ocvO /output_file.cpio
will do the trick for your command, then just mold that into your crontab.. no need to make files and append stuff..
-Jim
Hello,
I have two seperate directories I wish to backup on the linux system
/home and /usr. I don't seem to be able to find a way to enter the
correct path in the crontab so I decided to create a script which takes
the contents of /home and inputs it into a file, then append the file
with the input of the /usr directory. What I now need to know is how
can I get the cpio command to acknowledge this log file and backup all
the filenames entered in there???
Somebody please help.
I think what you mean is that you want to backup these two dir's from cron? If not... sorry for the interruption =)
But:
find /home /usr | cpio -ocvO /output_file.cpio
will do the trick for your command, then just mold that into your crontab.. no need to make files and append stuff..
-Jim
| < Previous | Next > |