I assume you want to run this a cronjob? If so, it'll run under root permissions and should execute correctly when run by cron. Pipe the output to a file that you can monitor with ">>". For testing you can sudo
your command to see how it'll work when cronned. Then do a sudo crontab -e
to put a line for your backup script in crontab with the appropriate timing.
Edit: you will be dropped into a vi session for editing crontab, quick primer: Insert key to be able to type, Esc key to run editor commands, `:wq" to write your changes, ":q!" to exit without writing changes.
Add
SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
to the top of the file if it isnt already there.