diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-03-06 04:02:52 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-03-06 04:02:52 +0000 |
commit | d531c74dee66314854149be5f2fe2641ad50b7d7 (patch) | |
tree | a85d4a87138486b2289540f504f5725c77a507fa /SystemD/.config/systemd/user/backup.service | |
parent | 5192bb839b63b4c07f12f988aac3136c34775554 (diff) | |
download | dotfiles-d531c74dee66314854149be5f2fe2641ad50b7d7.tar.gz dotfiles-d531c74dee66314854149be5f2fe2641ad50b7d7.tar.bz2 dotfiles-d531c74dee66314854149be5f2fe2641ad50b7d7.zip |
(SystemD)+very simple backup service
Timer which runs weekly, copying my directory completely. Very naive,
I'm thinking compression should be my first effort.
Diffstat (limited to 'SystemD/.config/systemd/user/backup.service')
-rw-r--r-- | SystemD/.config/systemd/user/backup.service | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/SystemD/.config/systemd/user/backup.service b/SystemD/.config/systemd/user/backup.service new file mode 100644 index 0000000..d3bb8ed --- /dev/null +++ b/SystemD/.config/systemd/user/backup.service @@ -0,0 +1,6 @@ +[Unit] +Description=Taking backup + +[Service] +Type=simple +ExecStart=/usr/bin/rsync -a --delete --quiet /home/oreo /media/hdd/backup |