Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
rsnapshot
rsnapshot-1.3.1-no_usr_local.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rsnapshot-1.3.1-no_usr_local.patch of Package rsnapshot
--- Makefile.am +++ Makefile.am @@ -60,7 +60,7 @@ perl -pi -e 's/^\#\@CMD_DU\@/\@CMD_DU\@/' rsnapshot.conf.default.in.redhat perl -pi -e 's/^\#logfile/logfile/' rsnapshot.conf.default.in.redhat perl -pi -e 's/^\#lockfile/lockfile/' rsnapshot.conf.default.in.redhat - perl -pi -e 's%^\#cmd_rsnapshot_diff /usr/local/bin/rsnapshot-diff%cmd_rsnapshot_diff /usr/bin/rsnapshot-diff%' rsnapshot.conf.default.in.redhat + perl -pi -e 's%^\#cmd_rsnapshot_diff /usr/bin/rsnapshot-diff%cmd_rsnapshot_diff /usr/bin/rsnapshot-diff%' rsnapshot.conf.default.in.redhat @# diff doesn't return 0 diff -u rsnapshot.conf.default.in rsnapshot.conf.default.in.redhat > redhat/SOURCES/rsnapshot.patch || /bin/true rm -f rsnapshot.conf.default.in.redhat --- Makefile.in +++ Makefile.in @@ -593,7 +593,7 @@ perl -pi -e 's/^\#\@CMD_DU\@/\@CMD_DU\@/' rsnapshot.conf.default.in.redhat perl -pi -e 's/^\#logfile/logfile/' rsnapshot.conf.default.in.redhat perl -pi -e 's/^\#lockfile/lockfile/' rsnapshot.conf.default.in.redhat - perl -pi -e 's%^\#cmd_rsnapshot_diff /usr/local/bin/rsnapshot-diff%cmd_rsnapshot_diff /usr/bin/rsnapshot-diff%' rsnapshot.conf.default.in.redhat + perl -pi -e 's%^\#cmd_rsnapshot_diff /usr/bin/rsnapshot-diff%cmd_rsnapshot_diff /usr/bin/rsnapshot-diff%' rsnapshot.conf.default.in.redhat @# diff doesn't return 0 diff -u rsnapshot.conf.default.in rsnapshot.conf.default.in.redhat > redhat/SOURCES/rsnapshot.patch || /bin/true rm -f rsnapshot.conf.default.in.redhat --- rsnapshot-program.pl +++ rsnapshot-program.pl @@ -6547,7 +6547,7 @@ B<backup> lvm://vg0/home/path2/ lvm-vg0/ -B<backup_script> /usr/local/bin/backup_pgsql.sh pgsql_backup/ +B<backup_script> /usr/bin/backup_pgsql.sh pgsql_backup/ =over 4 @@ -6631,7 +6631,7 @@ =back -B<backup_script /usr/local/bin/backup_database.sh db_backup/> +B<backup_script /usr/bin/backup_database.sh db_backup/> =over 4 @@ -6706,7 +6706,7 @@ backup /etc/ localhost/ backup /home/ localhost/ - backup_script /usr/local/bin/backup_mysql.sh mysql_backup/ + backup_script /usr/bin/backup_mysql.sh mysql_backup/ backup root@foo.com:/etc/ foo.com/ backup root@foo.com:/home/ foo.com/ @@ -6733,13 +6733,13 @@ =over 4 -B<0 */4 * * * /usr/local/bin/rsnapshot hourly> +B<0 */4 * * * /usr/bin/rsnapshot hourly> -B<50 23 * * * /usr/local/bin/rsnapshot daily> +B<50 23 * * * /usr/bin/rsnapshot daily> -B<40 23 * * 6 /usr/local/bin/rsnapshot weekly> +B<40 23 * * 6 /usr/bin/rsnapshot weekly> -B<30 23 1 * * /usr/local/bin/rsnapshot monthly> +B<30 23 1 * * /usr/bin/rsnapshot monthly> =back @@ -6833,13 +6833,13 @@ =over 4 -B<0 */4 * * * /usr/local/bin/rsnapshot sync && /usr/local/bin/rsnapshot hourly> +B<0 */4 * * * /usr/bin/rsnapshot sync && /usr/bin/rsnapshot hourly> -B<50 23 * * * /usr/local/bin/rsnapshot daily> +B<50 23 * * * /usr/bin/rsnapshot daily> -B<40 23 1,8,15,22 * * /usr/local/bin/rsnapshot weekly> +B<40 23 1,8,15,22 * * /usr/bin/rsnapshot weekly> -B<30 23 1 * * /usr/local/bin/rsnapshot monthly> +B<30 23 1 * * /usr/bin/rsnapshot monthly> =back --- rsnapshot.1 +++ rsnapshot.1 @@ -611,7 +611,7 @@ .Sp \&\fBbackup\fR lvm://vg0/home/path2/ lvm\-vg0/ .Sp -\&\fBbackup_script\fR /usr/local/bin/backup_pgsql.sh pgsql_backup/ +\&\fBbackup_script\fR /usr/bin/backup_pgsql.sh pgsql_backup/ .Sp .RS 4 Examples: @@ -693,7 +693,7 @@ .RE .RS 4 .Sp -\&\fBbackup_script /usr/local/bin/backup_database.sh db_backup/\fR +\&\fBbackup_script /usr/bin/backup_database.sh db_backup/\fR .Sp .RS 4 In this example, we specify a script or program to run. This script should simply @@ -782,7 +782,7 @@ .Vb 3 \& backup /etc/ localhost/ \& backup /home/ localhost/ -\& backup_script /usr/local/bin/backup_mysql.sh mysql_backup/ +\& backup_script /usr/bin/backup_mysql.sh mysql_backup/ .Ve .Sp .Vb 5 @@ -810,13 +810,13 @@ \&\fBdaily\fR, \fBweekly\fR and \fBmonthly\fR have been defined in \fB/etc/rsnapshot.conf\fR .Sp .RS 4 -\&\fB0 */4 * * * /usr/local/bin/rsnapshot hourly\fR +\&\fB0 */4 * * * /usr/bin/rsnapshot hourly\fR .Sp -\&\fB50 23 * * * /usr/local/bin/rsnapshot daily\fR +\&\fB50 23 * * * /usr/bin/rsnapshot daily\fR .Sp -\&\fB40 23 * * 6 /usr/local/bin/rsnapshot weekly\fR +\&\fB40 23 * * 6 /usr/bin/rsnapshot weekly\fR .Sp -\&\fB30 23 1 * * /usr/local/bin/rsnapshot monthly\fR +\&\fB30 23 1 * * /usr/bin/rsnapshot monthly\fR .RE .RE .RS 4 @@ -909,13 +909,13 @@ the lowest, most frequent backup level, and right before. For example: .Sp .RS 4 -\&\fB0 */4 * * * /usr/local/bin/rsnapshot sync && /usr/local/bin/rsnapshot hourly\fR +\&\fB0 */4 * * * /usr/bin/rsnapshot sync && /usr/bin/rsnapshot hourly\fR .Sp -\&\fB50 23 * * * /usr/local/bin/rsnapshot daily\fR +\&\fB50 23 * * * /usr/bin/rsnapshot daily\fR .Sp -\&\fB40 23 1,8,15,22 * * /usr/local/bin/rsnapshot weekly\fR +\&\fB40 23 1,8,15,22 * * /usr/bin/rsnapshot weekly\fR .Sp -\&\fB30 23 1 * * /usr/local/bin/rsnapshot monthly\fR +\&\fB30 23 1 * * /usr/bin/rsnapshot monthly\fR .RE .RE .RS 4 --- utils/rsnapshot_if_mounted.sh +++ utils/rsnapshot_if_mounted.sh @@ -26,13 +26,13 @@ # Edit this script so it points to your rsnapshot program and snapshot root. # Then simply call this script instead of rsnapshot. # -# Example: /usr/local/bin/rsnapshot_if_mounted.sh -v daily +# Example: /usr/bin/rsnapshot_if_mounted.sh -v daily ############################################################################## # $Id: rsnapshot_if_mounted.sh,v 1.4 2005/04/02 07:37:07 scubaninja Exp $ # path to rsnapshot -RSNAPSHOT=/usr/local/bin/rsnapshot +RSNAPSHOT=/usr/bin/rsnapshot # snapshot_root SNAPSHOT_ROOT=/.snapshots/;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor