• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: tar-Question  (Read 1823 times)
KaiBo
Newbie
*

Karma: 0
Posts: 35



View Profile
« on: May 13, 2009, 08:35:03 AM »

I have this script that is supposed to pack all my stuff into a single tarball once a week. It seems to work pretty good and get the job done. At least that was what I thought when I set it up.

Quote
tar cvpzf $HOST_DIR/backup.tar.gz / --exclude="/sys/*" --exclude="/mnt/*" --exclude="/proc/*" --exclude="/lost+found" --exclude="/media/*" --exclude="/root/toril/*" --exclude-caches

Now I noticed that according to the tarballs size it cannot be my whole file system anymore. Rather a delta to the last compression. And indeed, when I take a look inside them they do not contain the complete file system anymore.

Quote
-rw------- 1 root root   1962344 May 10 05:09 backup.tar.gz
-rw------- 1 root root 493408458 May  7 11:49 backup_old.tar.gz

However, I could not find a switch deactivating this kind of behavior. Can anyone tell me what I might be missing?
Logged

Brian
Newbie
*

Karma: 0
Posts: 7


View Profile
« Reply #1 on: May 13, 2009, 11:38:32 AM »

Try removing the verbose flag.  You may be losing an error message in amidst the file listing.
Logged

Pages: [1]
Print
Jump to: