Re: [BackupPC-users] Rename of directories error and other oddities...
Hi, backu...@kosowsky.org wrote on 2014-05-07 20:17:44 -0400 [Re: [BackupPC-users] Rename of directories?error?and?other?oddities...]: Holger Parplies wrote at about 01:59:27 +0200 on Thursday, May 8, 2014: To Jeffrey, from 'perldoc -f rename': For a platform independent move function look at the File::Copy module. I know that... but why is that relevant to me? (assuming I am the 'Jeffrey' you are referencing) My only comment was to point out that /usr/bin/rename is not necessarily the perl version... ah, sorry. I imagined reading backu...@kosowsky.org wrote on 2014-05-06 20:37:48 -0400 [Re: [BackupPC-users] Rename of directories error?and?other?oddities...]: [...] The usage [of /usr/bin/rename] (unfortunately) is *not* the same... which is a pita since I have needed to modify my scripts depending on what linux distro they are running on... Of course, you might be talking of shell scripts there. Regards, Holger -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
Holger Parplies wrote at about 23:34:51 +0200 on Sunday, May 11, 2014: Hi, backu...@kosowsky.org wrote on 2014-05-07 20:17:44 -0400 [Re: [BackupPC-users] Rename of directories?error?and?other?oddities...]: Holger Parplies wrote at about 01:59:27 +0200 on Thursday, May 8, 2014: To Jeffrey, from 'perldoc -f rename': For a platform independent move function look at the File::Copy module. I know that... but why is that relevant to me? (assuming I am the 'Jeffrey' you are referencing) My only comment was to point out that /usr/bin/rename is not necessarily the perl version... ah, sorry. I imagined reading backu...@kosowsky.org wrote on 2014-05-06 20:37:48 -0400 [Re: [BackupPC-users] Rename of directories error?and?other?oddities...]: [...] The usage [of /usr/bin/rename] (unfortunately) is *not* the same... which is a pita since I have needed to modify my scripts depending on what linux distro they are running on... Of course, you might be talking of shell scripts there. Yes bash shell scripts that have nothing to do with backuppc. -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
Hi, backu...@kosowsky.org wrote on 2014-05-06 20:37:48 -0400 [Re: [BackupPC-users] Rename of directories error?and?other?oddities...]: Holger Parplies wrote at about 01:48:55 +0200 on Wednesday, May 7, 2014: Rob Morin wrote on 2014-05-06 15:02:34 -0400 [Re: [BackupPC-users] Rename of directories error and?other?oddities...]: To fix the issue I simply did the following... mv /usr/bin/rename /usr/bin/rename.orig ln -s /bin/mv /usr/bin/rename won't help. BackupPC doesn't use /usr/bin/rename, it uses the Perl rename() function named after the system call. Actually, /usr/bin/rename is a Perl script. I'm not sure about the syntax, but I vaguely remember it's intended for renaming several files, applying a Perl regexp substitution to the file names, so you've likely just got the syntax wrong (the manual page seems to agree with that assumption). Not quite true... coincidentally, the preceeding messages state something vaguely like ... Rob Morin wrote on 2014-05-06 14:57:56 -0400 [Re: [BackupPC-users] Rename of directories error and other oddities...]: RM After a test by su to backuppc user, i created a dir named new and then RM tried to rename it, i got this error... RM RM backuppc@locutus:~/pc/momentumvserver.momentum.local$ RM rename /var/lib/backuppc/pc/momentumvserver.momentum.local/new RM /var/lib/backuppc/pc/momentumvserver.momentum.local/0 RM RM Having no space between pattern and following word is deprecated at (eval 1) RM line 1. RM Bareword found where operator expected at (eval 1) line 1, near /var/lib RM (Missing operator before b?) RM Search pattern not terminated at (eval 1) line 1. I tend to believe that you'll agree that this is a Perl error message. I would further assume that I'd get such an error message if I tried to use something like /var/lib/backuppc/pc/momentumvserver.momentum.local/new as a regular expression (because the /var/ part is one, it's just not supposed to be followed by lib without intervening space (not that the space would help much, of course ;-)). [...] On debian systems, 'rename' is indeed a perl script calling the perl rename function. Interestingly, usr/bin/rename is a link to /etc/alternatives/rename which in turn is a link to /usr/bin/prename (where presumably the 'p' stands for Perl) On Fedora/Centos/Cygwin, 'rename' is a (standard) linux binary utility in the standard util-linux (Linux utility) package. The usage (unfortunately) is *not* the same... which is a pita since I have needed to modify my scripts depending on what linux distro they are running on... I agree on the Debian part, believe you about the Fedora/Centos/Cygwin part and wonder about your script part (though I see that calling a command rather than the syscall might make sense, e.g. if you need to move cross device or recursively, but why not use 'mv' then?), but it's really beside the point. BackupPC uses the syscall, not the command, unless I missed something. Thus, replacing the command will not change anything, whether you might be on Debian, Fedora, Centos or even Cygwin (though I doubt you'll have much fun running the BackupPC server there). Regards, Holger -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
BTW even if i use the rename command on the root partition or any partition i get pretty much the same error no matter what user I am... Rob Morin Senior Systems Administrator Momentum Ventures (514) 508-7500 Ext 207 -Original Message- From: Holger Parplies [mailto:wb...@parplies.de] Sent: May-07-14 8:49 AM To: backu...@kosowsky.org Cc: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Rename of directories error and other oddities... Hi, backu...@kosowsky.org wrote on 2014-05-06 20:37:48 -0400 [Re: [BackupPC-users] Rename of directories error?and?other?oddities...]: Holger Parplies wrote at about 01:48:55 +0200 on Wednesday, May 7, 2014: Rob Morin wrote on 2014-05-06 15:02:34 -0400 [Re: [BackupPC-users] Rename of directories error and?other?oddities...]: To fix the issue I simply did the following... mv /usr/bin/rename /usr/bin/rename.origln -s /bin/mv /usr/bin/rename won't help. BackupPC doesn't use /usr/bin/rename, it uses the Perl rename() function named after the system call. Actually, /usr/bin/rename is a Perl script. I'm not sure about the syntax, but I vaguely remember it's intended for renaming several files, applying a Perl regexp substitution to the file names, so you've likely just got the syntax wrong (the manual page seems to agree with that assumption). Not quite true... coincidentally, the preceeding messages state something vaguely like ... Rob Morin wrote on 2014-05-06 14:57:56 -0400 [Re: [BackupPC-users] Rename of directories error and other oddities...]: RM After a test by su to backuppc user, i created a dir named new and RM then tried to rename it, i got this error... RM RM backuppc@locutus:~/pc/momentumvserver.momentum.local$ RM rename /var/lib/backuppc/pc/momentumvserver.momentum.local/new RM /var/lib/backuppc/pc/momentumvserver.momentum.local/0 RM RM Having no space between pattern and following word is deprecated at RM (eval 1) line 1. RM Bareword found where operator expected at (eval 1) line 1, near /var/lib RM (Missing operator before b?) Search pattern not terminated RM at (eval 1) line 1. I tend to believe that you'll agree that this is a Perl error message. I would further assume that I'd get such an error message if I tried to use something like /var/lib/backuppc/pc/momentumvserver.momentum.local/new as a regular expression (because the /var/ part is one, it's just not supposed to be followed by lib without intervening space (not that the space would help much, of course ;-)). [...] On debian systems, 'rename' is indeed a perl script calling the perl rename function. Interestingly, usr/bin/rename is a link to /etc/alternatives/rename which in turn is a link to /usr/bin/prename (where presumably the 'p' stands for Perl) On Fedora/Centos/Cygwin, 'rename' is a (standard) linux binary utility in the standard util-linux (Linux utility) package. The usage (unfortunately) is *not* the same... which is a pita since I have needed to modify my scripts depending on what linux distro they are running on... I agree on the Debian part, believe you about the Fedora/Centos/Cygwin part and wonder about your script part (though I see that calling a command rather than the syscall might make sense, e.g. if you need to move cross device or recursively, but why not use 'mv' then?), but it's really beside the point. BackupPC uses the syscall, not the command, unless I missed something. Thus, replacing the command will not change anything, whether you might be on Debian, Fedora, Centos or even Cygwin (though I doubt you'll have much fun running the BackupPC server there). Regards, Holger -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
All my backups seemed to have worked... I check this morning and it looks good, I will try some restores later on and see how it goes... Anyone see a problem if i leave it this way? As i have not touched or altered anything other than doing standard apt-g upgrade on the box SO i am not sure why this command would stop working due to this particular error Rob Morin Senior Systems Administrator Momentum Ventures (514) 508-7500 Ext 207 -Original Message- From: Holger Parplies [mailto:wb...@parplies.de] Sent: May-07-14 8:49 AM To: backu...@kosowsky.org Cc: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Rename of directories error and other oddities... Hi, backu...@kosowsky.org wrote on 2014-05-06 20:37:48 -0400 [Re: [BackupPC-users] Rename of directories error?and?other?oddities...]: Holger Parplies wrote at about 01:48:55 +0200 on Wednesday, May 7, 2014: Rob Morin wrote on 2014-05-06 15:02:34 -0400 [Re: [BackupPC-users] Rename of directories error and?other?oddities...]: To fix the issue I simply did the following... mv /usr/bin/rename /usr/bin/rename.origln -s /bin/mv /usr/bin/rename won't help. BackupPC doesn't use /usr/bin/rename, it uses the Perl rename() function named after the system call. Actually, /usr/bin/rename is a Perl script. I'm not sure about the syntax, but I vaguely remember it's intended for renaming several files, applying a Perl regexp substitution to the file names, so you've likely just got the syntax wrong (the manual page seems to agree with that assumption). Not quite true... coincidentally, the preceeding messages state something vaguely like ... Rob Morin wrote on 2014-05-06 14:57:56 -0400 [Re: [BackupPC-users] Rename of directories error and other oddities...]: RM After a test by su to backuppc user, i created a dir named new and RM then tried to rename it, i got this error... RM RM backuppc@locutus:~/pc/momentumvserver.momentum.local$ RM rename /var/lib/backuppc/pc/momentumvserver.momentum.local/new RM /var/lib/backuppc/pc/momentumvserver.momentum.local/0 RM RM Having no space between pattern and following word is deprecated at RM (eval 1) line 1. RM Bareword found where operator expected at (eval 1) line 1, near /var/lib RM (Missing operator before b?) Search pattern not terminated RM at (eval 1) line 1. I tend to believe that you'll agree that this is a Perl error message. I would further assume that I'd get such an error message if I tried to use something like /var/lib/backuppc/pc/momentumvserver.momentum.local/new as a regular expression (because the /var/ part is one, it's just not supposed to be followed by lib without intervening space (not that the space would help much, of course ;-)). [...] On debian systems, 'rename' is indeed a perl script calling the perl rename function. Interestingly, usr/bin/rename is a link to /etc/alternatives/rename which in turn is a link to /usr/bin/prename (where presumably the 'p' stands for Perl) On Fedora/Centos/Cygwin, 'rename' is a (standard) linux binary utility in the standard util-linux (Linux utility) package. The usage (unfortunately) is *not* the same... which is a pita since I have needed to modify my scripts depending on what linux distro they are running on... I agree on the Debian part, believe you about the Fedora/Centos/Cygwin part and wonder about your script part (though I see that calling a command rather than the syscall might make sense, e.g. if you need to move cross device or recursively, but why not use 'mv' then?), but it's really beside the point. BackupPC uses the syscall, not the command, unless I missed something. Thus, replacing the command will not change anything, whether you might be on Debian, Fedora, Centos or even Cygwin (though I doubt you'll have much fun running the BackupPC server there). Regards, Holger -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users
Re: [BackupPC-users] Rename of directories error and other oddities...
Hi, Rob Morin wrote on 2014-05-07 09:43:12 -0400 [Re: [BackupPC-users] Rename of directories?error?and?other?oddities...]: BTW even if i use the rename command on the root partition or any partition i get pretty much the same error no matter what user I am... (the rename command having been ... RM backuppc@locutus:~/pc/momentumvserver.momentum.local$ rename /var/lib/backuppc/pc/momentumvserver.momentum.local/new /var/lib/backuppc/pc/momentumvserver.momentum.local/0 ). Yes, the syntax is the same for all users. It doesn't magically become correct if you try as a different user. For what you would for unknown reasons have been wanting to do above, it would be (on Debian et al. with Perl rename a.k.a. prename) for example rename s/new/0/ /var/lib/backuppc/pc/momentumvserver.momentum.local/new Again, BackupPC does *not* use the Perl rename command, it uses the system call rename(2), accessible from within Perl as the builtin function rename. Don't confuse Perl rename command as having anything other to do with Perl than it coincidentally being implemented in Perl. That does *not* make independent Perl scripts (such as BackupPC or BackupPC_dump) magically use it. To Jeffrey, from 'perldoc -f rename': For a platform independent move function look at the File::Copy module. Regards, Holger -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
Holger Parplies wrote at about 01:59:27 +0200 on Thursday, May 8, 2014: To Jeffrey, from 'perldoc -f rename': For a platform independent move function look at the File::Copy module. I know that... but why is that relevant to me? (assuming I am the 'Jeffrey' you are referencing) My only comment was to point out that /usr/bin/rename is not necessarily the perl version... -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Rename of directories error and other oddities...
Hello all I recently started to get this error in the backupPC logs... 014-05-05 16:55:25 Got fatal error during xfer (aborted by user (signal=INT)) 2014-05-05 20:00:01 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /etc 2014-05-05 20:00:01 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /etc 2014-05-05 20:00:06 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /backups/Linux/K1/Databases/daily 2014-05-05 20:00:12 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /backups/Linux/K1/Databases/daily 2014-05-05 20:06:41 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /home/gandalf 2014-05-05 20:06:41 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /home/gandalf 2014-05-05 20:07:19 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /home/it 2014-05-05 20:07:19 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /home/it 2014-05-06 01:12:31 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /usr/local/bin 2014-05-06 01:12:31 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /usr/local/bin 2014-05-06 01:12:48 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /home/eric.off 2014-05-06 01:12:49 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /root 2014-05-06 01:12:50 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /home/eric.off 2014-05-06 01:12:51 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /root 2014-05-06 01:17:00 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /usr/local/src 2014-05-06 01:17:01 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /usr/local/src 2014-05-06 01:19:47 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /var/www 2014-05-06 01:19:47 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /var/www 2014-05-06 01:20:13 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /var/atlassian/application-data/confluence/backups 2014-05-06 01:20:13 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /var/atlassian/application-data/confluence/backups 2014-05-06 01:34:50 Rename /var/lib/backuppc/pc/ http://locutus.momentum.local/backuppc/index.cgi?host=k1.momentum.local k1.momentum.local/new - /var/lib/backuppc/pc/ http://locutus.momentum.local/backuppc/index.cgi?host=k1.momentum.local k1.momentum.local/1 failed Couple things, not sure why everything is doubled Don't know why there is that rename error And thirdly the backup gets deleted somehow right after its done... When i go to browse the files that were backed up i get the below error... Any help appreciated as i currently have no backups at all... Error: Directory /var/lib/backuppc/pc/k1.momentum.local/1 is empty Rob Morin Senior Systems Administrator Momentum Ventures (514) 508-7500 Ext 207 -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
On Tue, May 6, 2014 at 7:06 AM, Rob Morin r...@mventures.ca wrote: 2014-05-05 20:00:01 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /etc 2014-05-05 20:00:01 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /etc Could you have somehow gotten 2 instances started at once? -- Les Mikesell lesmikes...@gmail.com -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
Might be, i did start one and then dequeued it... but one would figure that if one is started the other should not be... :) But my biggest issue is the rename error and the fact it never saves the backups! Rob Morin Senior Systems Administrator Momentum Ventures (514) 508-7500 Ext 207 -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: May-06-14 8:53 AM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Rename of directories error and other oddities... On Tue, May 6, 2014 at 7:06 AM, Rob Morin r...@mventures.ca wrote: 2014-05-05 20:00:01 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /etc 2014-05-05 20:00:01 incr backup started back to 2014-05-04 07:00:02 (backup #0) for directory /etc Could you have somehow gotten 2 instances started at once? -- Les Mikesell lesmikes...@gmail.com -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
On Tue, May 6, 2014 at 8:05 AM, Rob Morin r...@mventures.ca wrote: Might be, i did start one and then dequeued it... but one would figure that if one is started the other should not be... :) But my biggest issue is the rename error and the fact it never saves the backups! If two were running, I'd expect one rename to fail. Has this failure mode happened more than once? -- Les Mikesell lesmikes...@gmail.com -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
After a test by su to backuppc user, i created a dir named new and then tried to rename it, i got this error... backuppc@locutus:~/pc/momentumvserver.momentum.local$ rename /var/lib/backuppc/pc/momentumvserver.momentum.local/new /var/lib/backuppc/pc/momentumvserver.momentum.local/0 Having no space between pattern and following word is deprecated at (eval 1) line 1. Bareword found where operator expected at (eval 1) line 1, near /var/lib (Missing operator before b?) Search pattern not terminated at (eval 1) line 1. As backup[PC user or as root i get the same error?? Problem with the rename command? Rob Morin Senior Systems Administrator Momentum Ventures (514) 508-7500 Ext 207 -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: May-06-14 1:38 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Rename of directories error and other oddities... On Tue, May 6, 2014 at 8:05 AM, Rob Morin r...@mventures.ca wrote: Might be, i did start one and then dequeued it... but one would figure that if one is started the other should not be... :) But my biggest issue is the rename error and the fact it never saves the backups! If two were running, I'd expect one rename to fail. Has this failure mode happened more than once? -- Les Mikesell lesmikes...@gmail.com -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
To fix the issue I simply did the following... mv /usr/bin/rename /usr/bin/rename.orig ln -s /bin/mv /usr/bin/rename Testing a back up now Rob Morin Senior Systems Administrator Momentum Ventures (514) 508-7500 Ext 207 -Original Message- From: Rob Morin [mailto:r...@mventures.ca] Sent: May-06-14 2:58 PM To: 'General list for user discussion, questions and support' Subject: Re: [BackupPC-users] Rename of directories error and other oddities... After a test by su to backuppc user, i created a dir named new and then tried to rename it, i got this error... backuppc@locutus:~/pc/momentumvserver.momentum.local$ rename /var/lib/backuppc/pc/momentumvserver.momentum.local/new /var/lib/backuppc/pc/momentumvserver.momentum.local/0 Having no space between pattern and following word is deprecated at (eval 1) line 1. Bareword found where operator expected at (eval 1) line 1, near /var/lib (Missing operator before b?) Search pattern not terminated at (eval 1) line 1. As backup[PC user or as root i get the same error?? Problem with the rename command? Rob Morin Senior Systems Administrator Momentum Ventures (514) 508-7500 Ext 207 -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: May-06-14 1:38 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Rename of directories error and other oddities... On Tue, May 6, 2014 at 8:05 AM, Rob Morin r...@mventures.ca wrote: Might be, i did start one and then dequeued it... but one would figure that if one is started the other should not be... :) But my biggest issue is the rename error and the fact it never saves the backups! If two were running, I'd expect one rename to fail. Has this failure mode happened more than once? -- Les Mikesell lesmikes...@gmail.com -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
On Tue, May 6, 2014 at 1:36 PM, Rob Morin r...@mventures.ca wrote: Yes its been about 2 weeks now... Its so bizarre.. Have any backups ever worked on this system? How many perl BackupPC processes does ps show?What linux distro/version is the server and how did you install backuppc (packaged or from source)? Maybe someone with a similar system will recognize the problem. -- Les Mikesell lesmikes...@gmail.com -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
Hi, Rob Morin wrote on 2014-05-06 15:02:34 -0400 [Re: [BackupPC-users] Rename of directories error and?other?oddities...]: To fix the issue I simply did the following... mv /usr/bin/rename /usr/bin/rename.orig ln -s /bin/mv /usr/bin/rename won't help. BackupPC doesn't use /usr/bin/rename, it uses the Perl rename() function named after the system call. Actually, /usr/bin/rename is a Perl script. I'm not sure about the syntax, but I vaguely remember it's intended for renaming several files, applying a Perl regexp substitution to the file names, so you've likely just got the syntax wrong (the manual page seems to agree with that assumption). What does the corresponding 'mv' command give you? I'd guess you've got some sort of permission problem, possibly SElinux-related. What file system type is your pool on? Regards, Holger -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Rename of directories error and other oddities...
Holger Parplies wrote at about 01:48:55 +0200 on Wednesday, May 7, 2014: Hi, Rob Morin wrote on 2014-05-06 15:02:34 -0400 [Re: [BackupPC-users] Rename of directories error and?other?oddities...]: To fix the issue I simply did the following... mv /usr/bin/rename /usr/bin/rename.orig ln -s /bin/mv /usr/bin/rename won't help. BackupPC doesn't use /usr/bin/rename, it uses the Perl rename() function named after the system call. Actually, /usr/bin/rename is a Perl script. I'm not sure about the syntax, but I vaguely remember it's intended for renaming several files, applying a Perl regexp substitution to the file names, so you've likely just got the syntax wrong (the manual page seems to agree with that assumption). Not quite true... On debian systems, 'rename' is indeed a perl script calling the perl rename function. Interestingly, usr/bin/rename is a link to /etc/alternatives/rename which in turn is a link to /usr/bin/prename (where presumably the 'p' stands for Perl) On Fedora/Centos/Cygwin, 'rename' is a (standard) linux binary utility in the standard util-linux (Linux utility) package. The usage (unfortunately) is *not* the same... which is a pita since I have needed to modify my scripts depending on what linux distro they are running on... -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149; Requirements for releasing software faster #149; Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/