Friendica/Red records go back a couple of weeks
This commit is contained in:
parent
3e1c87e476
commit
88b329fff7
|
@ -4018,6 +4018,9 @@ MYSQL_PASSWORD=<mysql root password>
|
||||||
|
|
||||||
umask 0077
|
umask 0077
|
||||||
|
|
||||||
|
# records go back a couple of weeks
|
||||||
|
cp -f /var/backups/friendica_weekly.sql /var/backups/friendica_2weekly.sql
|
||||||
|
|
||||||
# Backup the database
|
# Backup the database
|
||||||
mysqldump --password=$MYSQL_PASSWORD friendica > /var/backups/friendica_weekly.sql
|
mysqldump --password=$MYSQL_PASSWORD friendica > /var/backups/friendica_weekly.sql
|
||||||
|
|
||||||
|
@ -4330,6 +4333,9 @@ MYSQL_PASSWORD=<mysql root password>
|
||||||
|
|
||||||
umask 0077
|
umask 0077
|
||||||
|
|
||||||
|
# records go back a couple of weeks
|
||||||
|
cp -f /var/backups/redmatrix_weekly.sql /var/backups/redmatrix_2weekly.sql
|
||||||
|
|
||||||
# Backup the database
|
# Backup the database
|
||||||
mysqldump --password=$MYSQL_PASSWORD redmatrix > /var/backups/redmatrix_weekly.sql
|
mysqldump --password=$MYSQL_PASSWORD redmatrix > /var/backups/redmatrix_weekly.sql
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue