Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#305029 - 11/12/2007 16:02 Backup utility for Linux?
tahir
pooh-bah

Registered: 27/02/2004
Posts: 1919
Loc: London
I'm looking for something that I can use to backup data to a NAS, something like this would be typical:

Source: //mail/scalix/ all subdirectories excluding //mail/scalix/temp

Destination: //data1/Daily/scalix

I'm average to poor at batch files so wondered whether there's a non scripted solution (on Windows I use an application called PTReplicator from http://www.karenware.com) on Linux (RedHat).

If there's nothing like that around where can I find a good primer on scripting?

Top
#305031 - 11/12/2007 16:19 Re: Backup utility for Linux? [Re: tahir]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
tar cvf /data1/Daily/scalix --exclude /mail/scalix/temp/* /mail/scalix/*

Top
#305036 - 11/12/2007 16:41 Re: Backup utility for Linux? [Re: tman]
tahir
pooh-bah

Registered: 27/02/2004
Posts: 1919
Loc: London
That simple? Muchas gracias ;\)

Top
#305042 - 11/12/2007 17:35 Re: Backup utility for Linux? [Re: tman]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
 Originally Posted By: tman
tar cvf /data1/Daily/scalix --exclude /mail/scalix/temp/* /mail/scalix/*


if /data1/Daily/scalix is the destination directory, then you really want this instead:

tar cvf /data1/Daily/scalix/bkp.tar --exclude /mail/scalix/temp/* /mail/scalix/*

Top
#305160 - 16/12/2007 13:02 Re: Backup utility for Linux? [Re: mlord]
tahir
pooh-bah

Registered: 27/02/2004
Posts: 1919
Loc: London
Thanks, been busy will try next time I'm in the office.

Top