[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question about creation of archives
- To: Albert Cardona <albertcardona@protonmail.com>, "tarsnap-users@tarsnap.com" <tarsnap-users@tarsnap.com>
- Subject: Re: question about creation of archives
- From: Colin Percival <cperciva@tarsnap.com>
- Date: Tue, 17 Jul 2018 17:51:02 -0700
- Autocrypt: addr=cperciva@tarsnap.com; prefer-encrypt=mutual; keydata= xsDhBElrAAcRBACDfDys4ZtK+ErCJ1HAzYeteKpm3OEsvT/49AjUTLihkF79HhIKrCQU+1KC zv7BwHCMLb6hq30As9L7iFKG7n5QFLFC4Te/VcITUnWHMG/c3ViLOfJGvi+9/nOEHaM1dVJY D6tEp5yM1nHmVQpo9932j4KGuGFR0LhOK5IHXOSfGwCgxSFDPdgxe2OEjWxjGgY+oV3EafcD +JROXCTjlcQiG/OguQH4Vks3mhHfFnEppLxTkDuYgHZQiUtpcT9ssH5khgqoTyMar05OUdAj ZIhNbWDh4LgTj+7ZmvLhXT5Zxw8LX9d7T36aTB8XDQSenDqEtinMWOb0TCBBLbsB8EFG1WTT ESbZci9jJS5yhtktuZoY/eM8uXMD/3k4FWFO80VRRkELSp+XSy/VlSQjyi/rhl2nQq/oOA9F oJbDaB0yq9VNhxP+uFBzBWSqeIX0t1ZWLtNfVFr4TRP5hihI5ICrg/0OpqgisKsU2NFe9xyO hyJLYmfD8ebpDJ/9k30C7Iju9pVrwLm1QgS4S2fqJRcR+U4WbjvP7CgSzSVDb2xpbiBQZXJj aXZhbCA8Y3BlcmNpdmFAdGFyc25hcC5jb20+wmEEExECACEFAklrALYCGwMHCwkIBwMCAQQV AggDBBYCAwECHgECF4AACgkQOM7KaQxqam6/igCgn+z2k3V5ggNppmWrZstt1U2lugsAoL7L wS9V9yLtil3oWmHtwpUqYruEzsFNBElrAAcQCAD3ZLMIsP4CIDoJORg+YY0lqLVBgcnF7pFb 4Uy2+KvdWofN+DKH61rZLjgXXkNE9M4EQC1B4lGttBP8IY2gs41y3AUogGdyFbidq99rCBz7 LTsgARHwFxZoaHmXyiZLEU1QZuMqwPZV1mCviRhN5E3rRqYNXVcrnXAAuhBpvNyj/ntHvcDN 2/m+ochiuBYueU4kX3lHya7sOj+mTsndcWmQ9soOUyr8O0r/BG088bMn4qqtUw4dl5/pglXk jbl7uOOPinKf0WVd2r6M0wLPJCD4NPHrCWRLLLAjwfjrtoSRvXxDbXhCdgGBa72+K8eYLzVs hgq7tJOoBWzjVK6XRxR7AAMGB/9Mo3iJ2DxqDecd02KCB5BsFDICbJGhPltU7FwrtbC7djSb XUrwsEVLHi4st4cbdGNCWCrp0BRezXZKohKnNAPFOTK++ZfgeKxrV2sJod+Q9RILF86tQ4XF 7A7Yme5hy92t/WgiU4vc/fWbgP8gV/19f8nunaT2E9NSa70mZFjZNu4iuwThoUUO5CV3Wo0Y UISsnRK8XD1+LR3A2qVyLiFRwh/miC1hgLFCTGCQ3GLxZeZzIpYSlGdQJ0L5lixW5ZQD9r1I 8i/8zhE6qRFAM0upUMI3Gt1Oq2w03DiXrZU0Fu/R8Rm8rlnkQKA+95mRTUq1xL5P5NZIi4gJ Z569OPMFwkkEGBECAAkFAklrAAcCGwwACgkQOM7KaQxqam41igCfbaldnFTu5uAdrnrghESv EI3CAo8AoLkNMks1pThl2BJNRm4CtTK9xZeH
- In-reply-to: <cidzGpR_eWdWj7tv-OeIple3a1X5kIlFeMMLVHLxm1b0dMVIAWNX535XTd6pcY_EWCq3IKMfSvRju1f1ZK93dPrq9bZJsZOWKVRpksoBDDU=@protonmail.com>
- Openpgp: preference=signencrypt
- References: <cidzGpR_eWdWj7tv-OeIple3a1X5kIlFeMMLVHLxm1b0dMVIAWNX535XTd6pcY_EWCq3IKMfSvRju1f1ZK93dPrq9bZJsZOWKVRpksoBDDU=@protonmail.com>
On 07/16/18 10:00, Albert Cardona wrote:
> In invoking the command:
>
> $ /usr/bin/tarsnap -c --configfile ~/.tarsnaprc -f backup-`date
> +%Y%m%d-%H%M%S` --totals --dry-run /home/albert
>
> ... I am greeted with:
>
> tarsnap: Warning: Archive contains no files
>
> The /home/albert directory is certainly not empty.
> The ~/.tarsnaprc contains a number of include directories like:
>
> include /home/albert/lab/manuscripts
> include /home/albert/lab/grants
The 'include' directive is kind of broken. Or rather, it works,
but the situations where it's useful are so rare that it confuses
people more than it helps them.
My recommendation: Remove the 'include' directives from .tarsnaprc
and change your command line to
/usr/bin/tarsnap -c --configfile ~/.tarsnaprc -f backup-`date +%Y%m%d-%H%M%S`
--totals --dry-run /home/albert/lab/manuscripts /home/albert/lab/grants
--
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid