X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Ffreeside-backup;h=25e74a451c9e17a901fb900c56aae73a949713b3;hp=97a4899e6c71be663a398a6a0a6a6afa9897fc8e;hb=de549dfea65bf78508b508f03e4f9637122166a6;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c diff --git a/bin/freeside-backup b/bin/freeside-backup index 97a4899e6..25e74a451 100644 --- a/bin/freeside-backup +++ b/bin/freeside-backup @@ -9,8 +9,8 @@ my $user = shift or die &usage; adminsuidsetup $user; #you can skip this just by not having the config -use FS::Cron::backup qw(backup_scp); -backup_scp(); +use FS::Cron::backup qw(backup); +backup(); sub usage { die "Usage:\n\n freeside-backup user\n"; @@ -30,7 +30,7 @@ freeside-backup - Runs a backup =head1 DESCRIPTION -Runs a backup. See the dump-scpdest configuration option. +Runs a backup. See the dump-scpdest and dump-localdest configuration options. =head1 BUGS