Thread: Auto backup
View Single Post
  #4   (View Single Post)  
Old 8th August 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

Quote:
Originally Posted by Carpetsmoker View Post
tar doesn't compress files, it just archives them.

For compressiong, use an application such as gzip(1), bzip2(1), or p7zip(1).

gzip and bzip2 read from the standard input, not sure about p7zip.

# dump -0au -L /usr | gzip > /mnt/usb/usr.ad0s1f.dump.gz
Are you sure you're right?
I'm using:
Code:
dump -0Lauf - /usr | bzip2 >/mtn/usb/usr.ad0s1f.dump.bz2
-f - outputs to stdout
Reply With Quote