Lost your files? Check your backpocket. A simpler backup/snapshotting tool using rsync and pax/cp.
lost your files? check your backpocket : >
simple secure backup/snapshotting over ssh using rsync and pax
npm install backpocket -g
//backup from local to localbackpocket ./important/ ./backups///backup from remote to local (pull)backpocket pull user@someipaddress:/home/user/important/ ./backups///backup from local to remote (push)backpocket push ./important/ user@someipaddress:/home/user/backups/
--cp : use cp instead of pax. this runs on the destination machine. osx ships with pax and it's cp command doesn't support hard links, so if the dest is osx use pax, but if the dest is linux cp is more likely to be there already
--idkey [path]: optional path to ssh identity key if you want to specify an alternative to the default on your filesystem
--ignore [path]: path to file containing rules for ignoring files (as per rsync docs), default is:
Copyright (c) 2012 Alan Clarke
Licensed under the MIT license.