From b72fba54be12399bdc5f3438a28864a486a76384 Mon Sep 17 00:00:00 2001 From: nemsia Date: Sun, 7 May 2017 00:29:36 +0200 Subject: [PATCH] Add apt lists to backup --- scripts/backup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/backup b/scripts/backup index bb90997..d2a3c69 100644 --- a/scripts/backup +++ b/scripts/backup @@ -29,10 +29,12 @@ ynh_backup "/etc/cron.d/${app}" "cron.conf" ynh_backup "/etc/systemd/system/mastodon-web.service" "systemd_web.service" ynh_backup "/etc/systemd/system/mastodon-sidekiq.service" "systemd_sidekiq.service" ynh_backup "/etc/systemd/system/mastodon-streaming.service" "systemd_streaming.service" +ynh_backup "/etc/apt/sources.list.d/backports.list" "backports.list" +ynh_backup "/etc/apt/sources.list.d/yarn.list" "yarn.list" # Backup db sudo su - postgres < mastodon_db.sql COMMANDS ynh_backup "/var/lib/postgresql/${app}_db.sql" "${app}_db.sql" -ynh_secure_remove /var/lib/postgresql/mastodon_db.sql \ No newline at end of file +ynh_secure_remove /var/lib/postgresql/mastodon_db.sql