Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Run backups as root so we can back up /etc

  • Loading branch information...
commit 19be156e5f7356175e9971a0ea7a8477afc441c0 1 parent b923934
@autarch autarch authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  bin/vg-backup
  2. +1 −1  system/etc/cron.d/vegguide
View
3  bin/vg-backup
@@ -54,7 +54,8 @@ for my $host (@hosts) {
@v,
'-e', 'ssh -i /home/autarch/.ssh/id_rsa.backups',
'-r', '--links',
- $source, $host . ':/home/autarch/backup/vegguide.org/'
+ $source,
+ 'autarch@' . $host . ':/home/autarch/backup/vegguide.org/'
) and die "Cannot rsync $source to $host";
}
}
View
2  system/etc/cron.d/vegguide
@@ -1,6 +1,6 @@
30 10 * * * www-data /opt/perl5.14.2-no-threads/bin/perl /opt/perl5.14.2-no-threads/bin/vg-regen-data-feed-rss
15 12 * * 7 www-data /opt/perl5.14.2-no-threads/bin/perl /opt/perl5.14.2-no-threads/bin/vg-send-watch-list-emails
-37 3 * * * autarch /opt/perl5.14.2-no-threads/bin/perl /opt/perl5.14.2-no-threads/bin/vg-backup
+37 3 * * * root /opt/perl5.14.2-no-threads/bin/perl /opt/perl5.14.2-no-threads/bin/vg-backup
2 15 * * * autarch /opt/perl5.14.2-no-threads/bin/perl /opt/perl5.14.2-no-threads/bin/vg-delete-old-sessions
# All of the VegXX sites are either down or no longer generating feeds
Please sign in to comment.
Something went wrong with that request. Please try again.