[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help Using Tarsnap
I wanted to see how big my backup would be (which BTW I couldn't figure out how to do without paying $5 first, which was lame).
So I did this:
tarsnap -h --print-stats --dry-run --cachedir /nobackup/tarsnap/cache --keyfile /Users/curi/me/tarsnap/tarsnap.key -c -f home_backup /Users/curi/ --exclude .Trash/ --exclude MobileSync/Backup/ --exclude Caches/ --exclude nobackup
I have a few questions:
Can you have multiple excludes? I'm not sure I'm using it right.
> tarsnap: --exclude: Cannot stat: No such file or directory
> tarsnap: .Trash: Cannot stat: No such file or directory
> tarsnap: --exclude: Cannot stat: No such file or directory
> tarsnap: /MobileSync/Backup: Cannot stat: No such file or directory
> tarsnap: --exclude: Cannot stat: No such file or directory
> tarsnap: /Caches: Cannot stat: No such file or directory
Please let me know how to exclude all files matching multiple patterns.
I also got a lot of "Too many open files" errors. Is there general advice for dealing with that? Here's a paste:
> tarsnap: Python: could not open file: Too many open files
> tarsnap: Info.plist: could not open file: Too many open files
> tarsnap: version.plist: could not open file: Too many open files
> tarsnap: InfoPlist.strings: could not open file: Too many open files
> tarsnap: /Users/curi/cs/misc/tetris/dist/curi's blocks/curi's blocks.app/Contents/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framework/Versions/2.4/Frameworks/Python.framew
And I got this:
> tarsnap: openvpnstart: could not open file: Permission denied
Should I run tarsnap with sudo?
The final output says:
> Total size Compressed size
> All archives 59116321785 40518748896
> (unique data) 39803209838 29930964057
> This archive 59116321785 40518748896
> New data 39803209838 29930964057
I don't understand why "all archives" and "this archive" are bigger than the unique/new data, since this is my first/only archive. Should I just ignore the larger number? Would it be 30 gigs on s3 or 40?
I'm on Mac FYI.
Thanks for any answers.
-- Elliot Temple
xenophanes on hacker news
http://elliottemple.com/