Mailinglist Archive: opensuse (3103 mails)
| < Previous | Next > |
RE: [SLE] Backups - How to
- From: "Josh Trutwin" <josh@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 14 Feb 2003 12:10:00 -0600 (CST)
- Message-id: <32250.207.109.1.73.1045246200.squirrel@xxxxxxxxxxxxxxxxxxx>
>> > Cron and tar. Tar can also do incremental backups, but if you
>> can fit the
>> > whole system on one tape, no need to do incremental, unless speed is
>> a factor.
>> >
>>
>> Please forgive a Linux newbie's ignorance on this one. Tar can do
>> backups to
>> a Travan tape? I'm really impressed. What do I need to do to set it
>> up?
>>
>> Thanks much.
>> ---Michael
>>
>
> I think it can do travan tapes. I've only worked with scsi dat tapes.
> If you have it hooked up, and the kernel finds it and gives it a name
> such as /dev/st0 (check /var/log/boot.msg), then you just have to do:
>
> tar pcvbf 20 /dev/st0 PATH-TO-FILES-TO-BACKUP
>
> if you want whole system backup do:
>
> cd /
> tar pcvbf 20 /dev/st0 .
I have a SCSI travan, and yes, this is exactly how I use tar to backup to it.
Josh
> Put your commands in a script and make it executable, then setup cron to
> run the script at whatever times you want.
>
> It wouldn't hurt to read the man on tar, theirs a billion ways to run
> it, and a blocking factor of 20 may not work for you.
>> can fit the
>> > whole system on one tape, no need to do incremental, unless speed is
>> a factor.
>> >
>>
>> Please forgive a Linux newbie's ignorance on this one. Tar can do
>> backups to
>> a Travan tape? I'm really impressed. What do I need to do to set it
>> up?
>>
>> Thanks much.
>> ---Michael
>>
>
> I think it can do travan tapes. I've only worked with scsi dat tapes.
> If you have it hooked up, and the kernel finds it and gives it a name
> such as /dev/st0 (check /var/log/boot.msg), then you just have to do:
>
> tar pcvbf 20 /dev/st0 PATH-TO-FILES-TO-BACKUP
>
> if you want whole system backup do:
>
> cd /
> tar pcvbf 20 /dev/st0 .
I have a SCSI travan, and yes, this is exactly how I use tar to backup to it.
Josh
> Put your commands in a script and make it executable, then setup cron to
> run the script at whatever times you want.
>
> It wouldn't hurt to read the man on tar, theirs a billion ways to run
> it, and a blocking factor of 20 may not work for you.
| < Previous | Next > |