Автор: funk2256, 2 лет назад, написана на языке Plain Text.
Встраивание на сайт
  1. @home-server:~$ sudo systemctl status yadisk_backup.service
  2. ● yadisk_backup.service - My backup service
  3.      Loaded: loaded (/etc/systemd/system/yadisk_backup.service; static)
  4.      Active: active (running) since Thu 2022-10-06 01:50:36 +07; 7min ago
  5. TriggeredBy: ● yadisk_backup.timer
  6.    Main PID: 2038 (yadisk_backup)
  7.       Tasks: 3 (limit: 4440)
  8.      Memory: 916.0K
  9.         CPU: 12ms
  10.      CGroup: /system.slice/yadisk_backup.service
  11.              ├─2038 /bin/bash /usr/local/bin/yadisk_backup
  12.              ├─2040 tar -czf /media/funk2256/YaDisk/backups/.tar.gz /bin /boot /dev /etc /home /lib /lib32 /lib64 /libx32 /lost+found /media /mnt /opt /proc /root /run /sbin /snap /srv /swap.img /sys /tmp /usr /var
  13.              └─2041 tar -czf /media/funk2256/YaDisk/backups/.tar.gz /bin /boot /dev /etc /home /lib /lib32 /lib64 /libx32 /lost+found /media /mnt /opt /proc /root /run /sbin /snap /srv /swap.img /sys /tmp /usr /var
  14.  
  15. окт 06 01:50:36 home-server systemd[1]: Started My backup service.
  16. окт 06 01:50:36 home-server yadisk_backup[2040]: tar: Removing leading `/' from member names
  17. окт 06 01:50:36 home-server yadisk_backup[2040]: tar: Removing leading `/' from hard link targets
  18.