[arch-general] Basic tar backup ?
So I just want to tar up the whole box (small server)...can I just do this: tar -zcvpf /archive/full-backup-`date '+%d-%B-%Y'`.tar.gz \ --directory / --exclude=mnt --exclude=proc --exclude=dev --exclude=sys . Sorry if this a dumb question...I'm a Linux newb coming from BSD's ;)
On Thursday 12 June 2008 22:41:24 Allie Daneman wrote:
So I just want to tar up the whole box (small server)...can I just do this: tar -zcvpf /archive/full-backup-`date '+%d-%B-%Y'`.tar.gz \ --directory / --exclude=mnt --exclude=proc --exclude=dev --exclude=sys .
Sorry if this a dumb question...I'm a Linux newb coming from BSD's ;)
I'm not an expert but you should be able to do that :) -- Blog: damnshock.blogspot.com Fotolog: www.fotolog.com/damnshock
On Thu, Jun 12, 2008 at 4:47 PM, Marc Deop i Argemí <damnshock@gmail.com> wrote:
On Thursday 12 June 2008 22:41:24 Allie Daneman wrote:
So I just want to tar up the whole box (small server)...can I just do this: tar -zcvpf /archive/full-backup-`date '+%d-%B-%Y'`.tar.gz \ --directory / --exclude=mnt --exclude=proc --exclude=dev --exclude=sys .
Sorry if this a dumb question...I'm a Linux newb coming from BSD's ;)
I'm not an expert but you should be able to do that :)
You may want to look into using dar for this, as a giant tar is going to be silly big.
participants (3)
-
Aaron Griffin
-
Allie Daneman
-
Marc Deop i Argemí