loyal_barber wrote:
>
>
>
>
> --- In LINUX_Newbies@ yahoogroups. com
> <mailto:LINUX_
>>
>> Dear All,
>>
>> Please inform me how to configure tar for daily backup and
> monthly backup
>>
>>
>> Best Regards.
>> Hafiz Muhammad Amir
>
> You want to use cron and tar. Try reading
>
> man tar
> man crontab
>
> Loyal
>
Here is a simple yet effective approach, create a directory called
backup in /home (as root) create a file which lists the things you want
to back up, one per line e.g.
/root
/var
/home/user
/opt
These can be directories or individual files, call it the target file.
Do not include /home or /home/backup or just / in this file.
run (from a script) tar -c -a -t targets -g incremental.
Trevor
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
No comments:
Post a Comment