mirror of
https://github.com/Facundo-prog/automatic_backup_script.git
synced 2025-03-30 14:48:27 +00:00
updated
This commit is contained in:
parent
9dfc517dab
commit
1d49825546
10
README.md
10
README.md
@ -70,11 +70,11 @@ WantedBy=multi-user.target
|
||||
|
||||
### Copy the service to the path "/etc/systemd/system/":
|
||||
|
||||
Copy script:
|
||||
Copy service:
|
||||
|
||||
sudo cp backup-files.service /etc/systemd/system/
|
||||
|
||||
Enable backup service:
|
||||
Enable service:
|
||||
|
||||
sudo systemctl enable backup-files.service
|
||||
|
||||
@ -108,6 +108,8 @@ Concede execute permission:
|
||||
|
||||
sudo chmod 754 /home/backup-files.sh
|
||||
|
||||
|
||||
|
||||
### Test script commands:
|
||||
|
||||
Manually execute the script for testing:
|
||||
@ -128,6 +130,10 @@ Start service:
|
||||
|
||||
sudo systemctl status backup-files.service
|
||||
|
||||
Or view logs
|
||||
|
||||
journalctl -u backup-files.service
|
||||
|
||||
|
||||
</br>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user