Skip to content

Commit

Permalink
NEW: Rsync backup script service
Browse files Browse the repository at this point in the history
  • Loading branch information
jcjgraf committed Feb 22, 2021
1 parent 9ffffa2 commit f7986a7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions systemd/user/rsync_tmbackup.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Unit]
Description=Rsync tmbackup to Homeserver

[Service]
Type=oneshot
ExecStart=/home/jeanclaude/bin/rsync_tmbackup.sh /home/jeanclaude [email protected]:~/Backup/Arch
11 changes: 11 additions & 0 deletions systemd/user/rsync_tmbackup.timer
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=Rsync tmbackup to Homeserver


[Timer]
OnBootSec=900
OnUnitActiveSec=14400
Unit=rsync_tmbackup.service

[Install]
WantedBy=timers.target
1 change: 1 addition & 0 deletions systemd/user/timers.target.wants/rsync_tmbackup.timer

0 comments on commit f7986a7

Please sign in to comment.