Using tar for backup.
Hello.
I have created a cronjob which is going to run at 1:30am each Saturday. I have done this with...
crontab -e
30 1 * * 0 /runfile
I am backing up around about 60GB of data, only a seperate HDD in th eserver. I want all of the files to preserve their file ownership, permissions, and full directory paths.
Basically so, If I have a disaster and the RAID pack dies and the data gets lost, I can untar the latest backup file and everything will be as it was.
Can anyone please help me out with the tar command. I want to nail it first time as it is a production server.
Thanks alot.
Best Regards,
Craig
|