Skip to content

Commit 21e15c6

Browse files
author
Patrick M
committed
fix: typo
1 parent 700a2c7 commit 21e15c6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

_posts/2023-06-16-back-up-rpi-live.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ sudo nano /root/.local/bin/backup
7676
image-backup --initial /mnt/backup/rpi1_$(date +%Y-%m-%d).img,,5000
7777
```
7878

79-
Then you'll have to add the following to crontab. Because we put our image-util files in `/usr/local/sbin` we'll have to define that in the crontab path.
79+
Then you'll have to add the following to the root crontab as we want the root user to run the backup. Because we put our image-util files in `/usr/local/sbin` we'll have to define that in the crontab path.
80+
81+
```bash
82+
sudo crontab -e
83+
```
8084

8185
```bash
8286
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

0 commit comments

Comments
 (0)