Skip to content

Commit edd7190

Browse files
Added usage info to readme
1 parent 8591055 commit edd7190

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,15 @@ This is a php script that I included here to show where rsnapshot-once.py origin
99
## rsnapshot-once.py
1010

1111
This is my port of the above script for python. Particularly I made it to run properly with Python version 3.4. I made some additions though.
12+
13+
Usage:
14+
rsnapshot-once [-c CFGFILE] (sync|hourly [<N>]|daily|monthly)
15+
rsnapshot-once -h
16+
17+
Options:
18+
-c CFGFILE specify the configfile that rsnapshot should use
19+
[default: /etc/rsnapshot.conf]
20+
-h display help
21+
22+
By passing the <N> argument with hourly, you can adjust the hourly intervals. Defaults to 6 if not given, meaning every 4 hours.
23+
This script will, as it is designed for now, run in systemd environments. You can use it in non systemd environments by removing or adjusting the wakeup-part.

0 commit comments

Comments
 (0)