Add backup script
This commit is contained in:
parent
f4c2ac5df2
commit
a65327f309
1 changed files with 4 additions and 0 deletions
4
docs/backup-photos
Normal file
4
docs/backup-photos
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
# Backup script to put in /etc/cron.montly/
|
||||
rsync -avP /var/www/photos/photo21 /backup/
|
||||
sudo -u postgres pg_dump photo21 > /backup/pg_dump_photo21.sql
|
||||
Loading…
Add table
Add a link
Reference in a new issue