I am using rsnapshot to backup my client regularly; it writes the snapshot in a separate directory, and after backing up, the plan was to tar everything onto a Samba-share (which itself is backed up regularly).
In order to do so, I wrote a tiny script called "makebackuptar", which is defined as "cmd_postexec" in rsnapshot.conf.
Now, whenever I run "sudo rsnapshot client" (where client is the rulename), after the backup procedere, I get this message:
Code: Select all
WARNING: cmd_postexec "/home/thomas/bin/makebackuptar" returned 141
Code: Select all
#!/bin/sh
cd /dir-with-snapshots
tar -cjf /samba-share/.clientbackup.tar.bz2 .client-backup


