[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about backuping multiply dirs
On 10/30/11 16:42, Tim Bishop wrote:
> What happens if you run your exact cron command on the command line?
>
> tarsnap -c -f backup-`date +\%Y\%m\%d` /etc /var/www/vhosts
>
> (for what it's worth, I don't think you need the back slashes there)
Correct, the back slashes are only needed in the crontab because % has a
special meaning in cron tabs.
--
Colin Percival
Security Officer, FreeBSD | freebsd.org | The power to serve
Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid