Re: [BackupPC-users] BackupPC Working Well - Except Archiving
Nils Breunese wrote: > > I believe your are going to run this as a cronjob, right? Why not make a > three line script (mount image, archive+gzip, unmount) and run that from > cron? Then you don't need to mess with any pre or post commands in BackupPC. > Just an idea. > Jeffrey J. Kosowsky wrote: > > So you could right a script instead. > The solution adopted is to use BackupPC_archiveStart in conjunction with $Conf{ArchivePreUserCmd} $Conf{ArchivePostUserCmd} each running a mini script to mount or unmount the encrypted disk. This has exposed some odd behavior in BackupPC. The archive is produced in ...ArchiveName.tar.gz format. To obtain this result ...ArchiveHost/config.pl must contain $Conf{ArchiveComp} = '/bin/gzip'; Creating the archive consistently fails if the full path to gzip is not specified. However, making a change and save via the BackupPC web page either deletes this entry or changes it to "gzip" i.e. removes the path. In either case archive creation fails until ...ArchiveHost/config.pl is manually edited to restore the the full path /bin/gzip. Is this really odd behavior or simply my lack of familiarity with BackupPC? SamK - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
[EMAIL PROTECTED] wrote at about 13:49:38 + on Friday, November 21, 2008: > 02 I would like to conduct actions prior and post creating an archive. > Specifically mounting a Truecrypt encrypted removable disk. The following > command line works exactly as required when executed at the command line as > user = backuppc but fails when used in archiveHost.pl. > Command line version > /bin/echo password | /usr/bin/truecrypt --text --keyfiles="" > --protect-hidden=no --password=password --mount /dev/sdd1 > /media/backups-archived > Config. pl says: Note: all Cmds are executed directly without a shell, so the prog name # needs to be a full path and you can't include shell syntax like # redirection and pipes; put that in a script if you need it. So you could right a script instead. Alternatively, what I do is let the command be: bash -c "http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
SamK wrote: > QUESTIONS: > 01 The format of the command line required by BackupPC_archiveStart > is . Is is possible to specify > multiple without explicitly listing each of them at the > command line? (perhaps a wildcard) I have tried an asterisk without > success. Asterisks are normally expanded by your shell to a list of files in the current directory. I don't believe there is an 'all' option. You could just list them, or grep/awk them from your hosts file or something. > 02 I would like to conduct actions prior and post creating an > archive. Specifically mounting a Truecrypt encrypted removable > disk. The following command line works exactly as required when > executed at the command line as user = backuppc but fails when used > in archiveHost.pl. > Command line version > /bin/echo password | /usr/bin/truecrypt --text --keyfiles="" -- > protect-hidden=no --password=password --mount /dev/sdd1 /media/ > backups-archived > > archiveHost.pl version > $Conf{ArchivePreUserCmd} = '/bin/echo password | /usr/bin/truecrypt > --text --keyfiles="" --protect-hidden=no --password=password -- > mount /dev/sdd1 /media/backups-archived'; > > Is this the correct file in which to list pre/post archive commands? > > Is there a syntax flaw in the construction of my > $Conf{ArchivePreUserCmd}? I believe your are going to run this as a cronjob, right? Why not make a three line script (mount image, archive+gzip, unmount) and run that from cron? Then you don't need to mess with any pre or post commands in BackupPC. Just an idea. Nils Breunese. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
Craig Barratt wrote: > > BackupPC_archiveStart is hardcoded to have no compression and use > a .raw suffix. It's pretty easy to see where to edit it to change > that. As Nils' mentioned you can easily compress that file, or > use BackupPC_tarCreate and compress its output (after all, > BackupPC_archiveStart eventually just runs BackupPC_tarCreate). > Nils Breunese wrote > >use BackupPC_tarCreate and pipe the result into gzip. > Dale Renton wrote: > > Have a look at these for compression : > http://sourceforge.net/mailarchive/message.php?msg_id=abf696d2-1326-4acc-8cee-374badd63779 > http://sourceforge.net/mailarchive/message.php?msg_id=c3e8b09d-a5c3-4782-93f7-44457dc1f048 > Thanks go to each of you. Archiving is now working with two residual issues to clear up. QUESTIONS: 01 The format of the command line required by BackupPC_archiveStart is . Is is possible to specify multiple without explicitly listing each of them at the command line? (perhaps a wildcard) I have tried an asterisk without success. 02 I would like to conduct actions prior and post creating an archive. Specifically mounting a Truecrypt encrypted removable disk. The following command line works exactly as required when executed at the command line as user = backuppc but fails when used in archiveHost.pl. Command line version /bin/echo password | /usr/bin/truecrypt --text --keyfiles="" --protect-hidden=no --password=password --mount /dev/sdd1 /media/backups-archived archiveHost.pl version $Conf{ArchivePreUserCmd} = '/bin/echo password | /usr/bin/truecrypt --text --keyfiles="" --protect-hidden=no --password=password --mount /dev/sdd1 /media/backups-archived'; Is this the correct file in which to list pre/post archive commands? Is there a syntax flaw in the construction of my $Conf{ArchivePreUserCmd}? SamK - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
Sam writes: > A copy of BackupPC 3.1 has been obtained from the main Ubuntu > repository and successfully installed on v 8.04-Server. This has > now provided access to the file BackupPC_archiveStart which I > intend to use via cron as outlined in the BackupPC documentation. > > When executed from the command line this produces an archive in > .tar.raw format rather than gzip format. I must be going "snow > blind" on this as I simply cannot figure out what configuration > entries need to be made in which files to achieve this. I am now > totally confused and cannot make progress by using the documentation. > > Is anyone willing to give me a hand with this? BackupPC_archiveStart is hardcoded to have no compression and use a .raw suffix. It's pretty easy to see where to edit it to change that. As Nils' mentioned you can easily compress that file, or use BackupPC_tarCreate and compress its output (after all, BackupPC_archiveStart eventually just runs BackupPC_tarCreate). Craig - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
Have a look at these for compression : http://sourceforge.net/mailarchive/message.php?msg_id=abf696d2-1326-4acc-8cee-374badd63779 http://sourceforge.net/mailarchive/message.php?msg_id=c3e8b09d-a5c3-4782-93f7-44457dc1f048 > From: [EMAIL PROTECTED] > To: backuppc-users@lists.sourceforge.net > Date: Thu, 20 Nov 2008 15:38:44 + > Subject: Re: [BackupPC-users] BackupPC Working Well - Except Archiving > > > > > > From: "Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> > > Date: 2008/11/20 Thu PM 02:03:39 GMT > > To: "General list for user discussion, > > questions and support" > > Subject: Re: [BackupPC-users] BackupPC Working Well - Except Archiving > > > > SamK wrote: > > > > > A copy of BackupPC 3.1 has been obtained from the main Ubuntu > > > repository and successfully installed on v 8.04-Server. This has > > > now provided access to the file BackupPC_archiveStart which I intend > > > to use via cron as outlined in the BackupPC documentation. > > > > > > When executed from the command line this produces an archive > > > in .tar.raw format rather than gzip format. I must be going "snow > > > blind" on this as I simply cannot figure out what configuration > > > entries need to be made in which files to achieve this. I am now > > > totally confused and cannot make progress by using the documentation. > > > > > > Is anyone willing to give me a hand with this? > > > > What is your question exactly? If you want a gzipped archive then use > > gzip to compress the tar archive. > > > > Nils Breunese. > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > 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/ > > > > > The lack of clarity in my earlier question was probably the result of my > frustration at the failure to do something that should be easily do-able. > > All I want to achieve is > * Emulate the clicking of the Start Archive Button in the BackupPc web > interface. This is working perfectly satisfactorily via CGI. It produces > compressed archives FileName.tar.gz. > > * Schedule this to run under cron > > * Use the Archive[Pre Post]User commands to to mount a Truecrypt Volume on a > removable disk to store the archives in an encrypted partition used for > off-site storage. > > Ideally I would like to keep as close as possible to the default installation > of BackupPC in meeting these goals and thereby keep user-generated scripts to > a minimum or even eliminated. > > I would like to stress that I am not asking that someone else do the work > here; rather offer assistance and guidance out of my current confusion. > > > SamK > > - > Email sent from www.virginmedia.com/email > Virus-checked using McAfee(R) Software and scanned for spam > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > 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/ _ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/___ 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] BackupPC Working Well - Except Archiving
> > From: "Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> > Date: 2008/11/20 Thu PM 02:03:39 GMT > To: "General list for user discussion, > questions and support" > Subject: Re: [BackupPC-users] BackupPC Working Well - Except Archiving > > SamK wrote: > > > A copy of BackupPC 3.1 has been obtained from the main Ubuntu > > repository and successfully installed on v 8.04-Server. This has > > now provided access to the file BackupPC_archiveStart which I intend > > to use via cron as outlined in the BackupPC documentation. > > > > When executed from the command line this produces an archive > > in .tar.raw format rather than gzip format. I must be going "snow > > blind" on this as I simply cannot figure out what configuration > > entries need to be made in which files to achieve this. I am now > > totally confused and cannot make progress by using the documentation. > > > > Is anyone willing to give me a hand with this? > > What is your question exactly? If you want a gzipped archive then use > gzip to compress the tar archive. > > Nils Breunese. > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > 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/ > The lack of clarity in my earlier question was probably the result of my frustration at the failure to do something that should be easily do-able. All I want to achieve is * Emulate the clicking of the Start Archive Button in the BackupPc web interface. This is working perfectly satisfactorily via CGI. It produces compressed archives FileName.tar.gz. * Schedule this to run under cron * Use the Archive[Pre Post]User commands to to mount a Truecrypt Volume on a removable disk to store the archives in an encrypted partition used for off-site storage. Ideally I would like to keep as close as possible to the default installation of BackupPC in meeting these goals and thereby keep user-generated scripts to a minimum or even eliminated. I would like to stress that I am not asking that someone else do the work here; rather offer assistance and guidance out of my current confusion. SamK - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
Nils Breunese (Lemonbit) wrote: > SamK wrote: > >> A copy of BackupPC 3.1 has been obtained from the main Ubuntu >> repository and successfully installed on v 8.04-Server. This has >> now provided access to the file BackupPC_archiveStart which I intend >> to use via cron as outlined in the BackupPC documentation. >> >> When executed from the command line this produces an archive >> in .tar.raw format rather than gzip format. I must be going "snow >> blind" on this as I simply cannot figure out what configuration >> entries need to be made in which files to achieve this. I am now >> totally confused and cannot make progress by using the documentation. >> >> Is anyone willing to give me a hand with this? > > What is your question exactly? If you want a gzipped archive then use > gzip to compress the tar archive. Or what I'd do: don't use BackupPC_archiveStart, but use BackupPC_tarCreate and pipe the result into gzip. Nils Breunese. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
SamK wrote: > A copy of BackupPC 3.1 has been obtained from the main Ubuntu > repository and successfully installed on v 8.04-Server. This has > now provided access to the file BackupPC_archiveStart which I intend > to use via cron as outlined in the BackupPC documentation. > > When executed from the command line this produces an archive > in .tar.raw format rather than gzip format. I must be going "snow > blind" on this as I simply cannot figure out what configuration > entries need to be made in which files to achieve this. I am now > totally confused and cannot make progress by using the documentation. > > Is anyone willing to give me a hand with this? What is your question exactly? If you want a gzipped archive then use gzip to compress the tar archive. Nils Breunese. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
A copy of BackupPC 3.1 has been obtained from the main Ubuntu repository and successfully installed on v 8.04-Server. This has now provided access to the file BackupPC_archiveStart which I intend to use via cron as outlined in the BackupPC documentation. When executed from the command line this produces an archive in .tar.raw format rather than gzip format. I must be going "snow blind" on this as I simply cannot figure out what configuration entries need to be made in which files to achieve this. I am now totally confused and cannot make progress by using the documentation. Is anyone willing to give me a hand with this? SamK - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
Craig Barratt Wrote > > From: Craig Barratt <[EMAIL PROTECTED]> > Date: 2008/11/18 Tue PM 09:57:39 GMT > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > CC: "backuppc-users@lists.sourceforge.net" > > Subject: Re: [BackupPC-users] BackupPC Working Well - Except Archiving > > SamK writes: > > > I am struggling to create an archive from the command line. The desired > > outcome is to emulate the clicking of the "Start Archive" button in the web > > page as this method is working perfectly. The overall objective is to > > create the archive as a cron job. > > > > >From /usr/share/backuppc/bin/BackupPC_archive > > Extract Start > > # BackupPC_archive: Archive files for an archive client. > > # > > # DESCRIPTION > > # > > # Usage: BackupPC_archive > > Extract End > > > > I cannot find the definitions ofand > > all permutations of my guesses of what might be required have all failed. > > Can anyone help or indicate where the definitions are listed? > > BackupPC_archive isn't very easy to use directly: reqFileName is the > path of a file (output from perl's Data::Dumper) with information > about what to archive. > > BackupPC_archiveStart is much easier to use. It creates a reqFile > and then tells the BackupPC server to run the archive. > > Craig > One of my earlier emails on this topic mentioned that BackupPC_archiveStart was not included in backuppc_3.0.0.-4ubuntu1_all-deb obtained from the main Ubuntu repository. (it is not listed in the .deb package filelist). Having read a warning in the BackupPC documentation not to mix files from different sources I assumed this had been deliberately omitted in favour of BackupPC_archive, and was therefore (mistakenly) attempting to use that file. Is a copy of BackupPC_archiveStart suitable for Ubuntu8.04-Server LTS available anywhere? Les Mikesell Wrote: > If you are going to do it from the command line, why not start with > BackupPC_tarCreate and set up your own pipeline for compress/split or > whatever options you want. This was unsuccessfully attempted, but I do not know why it failed. SamK-01 Wrote: > An archive is successfully created when started from within the web page. > This produces a log-file with the following entry: > Executing: /usr/share/backuppc/bin/BackupPC_archiveHost > /usr/share/backuppc/bin/BackupPC_tarCreate /usr/bin/split home---tom 10 > /bin/gzip .gz 000 /var/lib/backuppc/pc/whole---all_backups * > In a terminal running exactly the same command line as user = backuppc > returns: > Usage: /usr/share/backuppc/bin/BackupPC_archiveHost tarCreatePath splitPath > parPath host bkupNum compPath fileExt splitSize outLoc parFile share SamK-01 - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
[EMAIL PROTECTED] wrote: > I am struggling to create an archive from the command line. The desired > outcome is to emulate the clicking of the "Start Archive" button in the web > page as this method is working perfectly. The overall objective is to create > the archive as a cron job. > >>From /usr/share/backuppc/bin/BackupPC_archive > Extract Start > # BackupPC_archive: Archive files for an archive client. > # > # DESCRIPTION > # > # Usage: BackupPC_archive > Extract End > > I cannot find the definitions ofand all > permutations of my guesses of what might be required have all failed. Can > anyone help or indicate where the definitions are listed? If you are going to do it from the command line, why not start with BackupPC_tarCreate and set up your own pipeline for compress/split or whatever options you want. -- Les Mikesell [EMAIL PROTECTED] - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
SamK writes: > I am struggling to create an archive from the command line. The desired > outcome is to emulate the clicking of the "Start Archive" button in the web > page as this method is working perfectly. The overall objective is to create > the archive as a cron job. > > >From /usr/share/backuppc/bin/BackupPC_archive > Extract Start > # BackupPC_archive: Archive files for an archive client. > # > # DESCRIPTION > # > # Usage: BackupPC_archive > Extract End > > I cannot find the definitions ofand all > permutations of my guesses of what might be required have all failed. Can > anyone help or indicate where the definitions are listed? BackupPC_archive isn't very easy to use directly: reqFileName is the path of a file (output from perl's Data::Dumper) with information about what to archive. BackupPC_archiveStart is much easier to use. It creates a reqFile and then tells the BackupPC server to run the archive. Craig - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
Trying an alternative angle on this... An archive is successfully created when started from within the web page. This produces a log-file with the following entry: Executing: /usr/share/backuppc/bin/BackupPC_archiveHost /usr/share/backuppc/bin/BackupPC_tarCreate /usr/bin/split home---tom 10 /bin/gzip .gz 000 /var/lib/backuppc/pc/whole---all_backups * In a terminal running exactly the same command line as user = backuppc returns: Usage: /usr/share/backuppc/bin/BackupPC_archiveHost tarCreatePath splitPath parPath host bkupNum compPath fileExt splitSize outLoc parFile share Any suggestions why this runs successfully from the CGI but fails at the command line? SamK-01 > I am struggling to create an archive from the command > line. The desired outcome is to emulate the clicking of > the "Start Archive" button in the web page as this method > is working > perfectly. The overall objective is to create > the archive as a cron job. > Quote: > From /usr/share/backuppc/bin/BackupPC_archive > Extract Start > # BackupPC_archive: Archive files for an archive client. > # > # DESCRIPTION > # > # Usage: BackupPC_archive > > Extract End > I cannot find the definitions of > and all permutations of my guesses of what > might be required > have all failed. Can anyone help or > indicate where the definitions are listed? > Having read the Description within the files > BackupPC_archive and BackupPC_archiveHost it appears that > BackupPC_archive > begins the archive creation process and > then passes control to > BackupPC_archiveHost which uses > the settings listed in the CGI (ArchiveClientCmd). > This implies that BackupPC_archive could become a cron > job and thereby achieve the desired scheduling. > Consequently, creating an archive occurs at a predictable > date/time which > might be beneficial taking into account > the archive will take longer to complete than a normal > full/incremental backup. > If this is correct it implies that when the "Start > Archive" button is clicked it is BackupPC_archive that is > started. This is > a little confusing as the settings in > the web page refer to BackupPC_archiveHost. - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
I am struggling to create an archive from the command line. The desired outcome is to emulate the clicking of the "Start Archive" button in the web page as this method is working perfectly. The overall objective is to create the archive as a cron job. >From /usr/share/backuppc/bin/BackupPC_archive Extract Start # BackupPC_archive: Archive files for an archive client. # # DESCRIPTION # # Usage: BackupPC_archive Extract End I cannot find the definitions ofand all permutations of my guesses of what might be required have all failed. Can anyone help or indicate where the definitions are listed? SamK > > From: <[EMAIL PROTECTED]> > Date: 2008/11/17 Mon AM 11:15:03 GMT > To: "General list for user discussion, > questions and support" , > "General list for user discussion, > questions and support" > Subject: Re: [BackupPC-users] BackupPC Working Well - Except Archiving > > InstallDir on my system = /usr/share/backuppc > In /usr/share/backuppc/bin are various files including: > BackupPC_archive (Note not BackupPC_archiveStart) > BackupPC_archiveHost > > The on-line docs at Sourceforge do not correspond with my Ubuntu 8.04-Server > LTS distribution. > > At the command line, using the full path, both can be started. From the CGI > it appears that BackupPC_archiveHost is started with the following command: > $Installdir/bin/BackupPC_archiveHost $tarCreatePath $splitpath $parpath $host > $backupnumber $compression $compext $splitsize $archiveloc $parfile * > > Still, it doesn't explain why it it fails to run when scheduled or fails to > create a log entry, but works when started manually using the button in the > CGI and creates the log entries. > > SamK > > > > > From: "Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> > > Date: 2008/11/17 Mon AM 09:45:41 GMT > > To: "General list for user discussion, > > questions and support" > > Subject: Re: [BackupPC-users] BackupPC Working Well - Except Archiving > > > > SamK wrote: > > > > > The on-line documentation at Sourceforge mentions creating an > > > archive at the command line using BackupPC_archiveStart. This > > > method fails as the system cannot find BackupPC_archiveStart. > > > > The BackupPC_archiveStart binary is probably not in your path. Try > > calling it using the full path, e.g. /usr/local/BackupPC/bin/ > > BackupPC_archiveStart on our systems. > > > > > > > > - > > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ___ > > 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/ > > > > > - > Email sent from www.virginmedia.com/email > Virus-checked using McAfee(R) Software and scanned for spam > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > 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/ > - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
Having read the Description within the files BackupPC_archive and BackupPC_archiveHost it appears that BackupPC_archive begins the archive creation process and then passes control to BackupPC_archiveHost which uses the settings listed in the CGI (ArchiveClientCmd). This implies that BackupPC_archive could become a cron job and thereby achieve the desired scheduling. Consequently, creating an archive occurs at a predictable date/time which might be beneficial taking into account the archive will take longer to complete than a normal full/incremental backup. Is this analysis correct? > > Adam Goryachev wrote: > > AFAIK, you don't schedule an archive... The scheduling only applies to > full/incremental backups. > > Of course, I could be wrong... but that is my experience and understanding of > the docs... > I have only recently begun to explore the use of BackupPC and may be investigating areas which are better understood by more experienced users. In my view, if archiving is designed not to make use of the scheduling facility built into BackupPc, it is a little confusing for the CGI to present the same scheduling options as those available for full/incremental backups. SamK - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
Having read the Description within the files BackupPC_archive and BackupPC_archiveHost it appears that BackupPC_archive begins the archive creation process and then passes control to BackupPC_archiveHost which uses the settings listed in the CGI (ArchiveClientCmd). This implies that BackupPC_archive could become a cron job and thereby achieve the desired scheduling. Consequently, creating an archive occurs at a predictable date/time which might be beneficial taking into account the archive will take longer to complete than a normal full/incremental backup. Is this analysis correct? > > Adam Goryachev wrote: > > AFAIK, you don't schedule an archive... The scheduling only applies to > full/incremental backups. > > Of course, I could be wrong... but that is my experience and understanding of > the docs... > I have only recently begun to explore the use of BackupPC and may be investigating areas which are better understood by more experienced users. In my view, if archiving is designed not to make use of the scheduling facility built into BackupPc, it is a little confusing for the CGI to present the same scheduling options as those available for full/incremental backups. SamK - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
Yes, the ubuntu install is different from the 'source' install, so the documentation doesn't fit exactly. After trying the Ubuntu package, I had to totally remove it and install from the sourceforge files (not .deb either) The install went nicely, even though it isn't the 'ubuntu way', it worked well and the documents were totally in sync. [EMAIL PROTECTED] wrote: > InstallDir on my system = /usr/share/backuppc > In /usr/share/backuppc/bin are various files including: > BackupPC_archive (Note not BackupPC_archiveStart) > BackupPC_archiveHost > > The on-line docs at Sourceforge do not correspond with my Ubuntu 8.04-Server > LTS distribution. > > At the command line, using the full path, both can be started. From the CGI > it appears that BackupPC_archiveHost is started with the following command: > $Installdir/bin/BackupPC_archiveHost $tarCreatePath $splitpath $parpath $host > $backupnumber $compression $compext $splitsize $archiveloc $parfile * > > Still, it doesn't explain why it it fails to run when scheduled or fails to > create a log entry, but works when started manually using the button in the > CGI and creates the log entries. > > SamK > > >> From: "Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> >> Date: 2008/11/17 Mon AM 09:45:41 GMT >> To: "General list for user discussion, >> questions and support" >> Subject: Re: [BackupPC-users] BackupPC Working Well - Except Archiving >> >> SamK wrote: >> >> >>> The on-line documentation at Sourceforge mentions creating an >>> archive at the command line using BackupPC_archiveStart. This >>> method fails as the system cannot find BackupPC_archiveStart. >>> >> The BackupPC_archiveStart binary is probably not in your path. Try >> calling it using the full path, e.g. /usr/local/BackupPC/bin/ >> BackupPC_archiveStart on our systems. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > > Still, it doesn't explain why it it fails to run when scheduled or fails to > create a log entry, but works when started manually using the button in the > CGI and creates the log entries. AFAIK, you don't schedule an archive... The scheduling only applies to full/incremental backups. Of course, I could be wrong... but that is my experience and understanding of the docs... Regards, Adam -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkhXs4ACgkQGyoxogrTyiU/pgCfcf1yGN0gfvdiV/jPFENUO0GR YC8AoIMqKS8llMWONOEWtDzn2RZhEKEI =VZPV -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
InstallDir on my system = /usr/share/backuppc In /usr/share/backuppc/bin are various files including: BackupPC_archive (Note not BackupPC_archiveStart) BackupPC_archiveHost The on-line docs at Sourceforge do not correspond with my Ubuntu 8.04-Server LTS distribution. At the command line, using the full path, both can be started. From the CGI it appears that BackupPC_archiveHost is started with the following command: $Installdir/bin/BackupPC_archiveHost $tarCreatePath $splitpath $parpath $host $backupnumber $compression $compext $splitsize $archiveloc $parfile * Still, it doesn't explain why it it fails to run when scheduled or fails to create a log entry, but works when started manually using the button in the CGI and creates the log entries. SamK > > From: "Nils Breunese (Lemonbit)" <[EMAIL PROTECTED]> > Date: 2008/11/17 Mon AM 09:45:41 GMT > To: "General list for user discussion, > questions and support" > Subject: Re: [BackupPC-users] BackupPC Working Well - Except Archiving > > SamK wrote: > > > The on-line documentation at Sourceforge mentions creating an > > archive at the command line using BackupPC_archiveStart. This > > method fails as the system cannot find BackupPC_archiveStart. > > The BackupPC_archiveStart binary is probably not in your path. Try > calling it using the full path, e.g. /usr/local/BackupPC/bin/ > BackupPC_archiveStart on our systems. > > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > 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/ > - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
SamK wrote: > The on-line documentation at Sourceforge mentions creating an > archive at the command line using BackupPC_archiveStart. This > method fails as the system cannot find BackupPC_archiveStart. The BackupPC_archiveStart binary is probably not in your path. Try calling it using the full path, e.g. /usr/local/BackupPC/bin/ BackupPC_archiveStart on our systems. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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] BackupPC Working Well - Except Archiving
I may have missed something obvious but I am unable to create an archive of existing backups using the CGI interface and schedule facilities. All other normal backups are successfully created this way. If started manually from the CGI interface the archive is created successfully. When scheduled via the CGI the Server log shows: 2008-11-17 08:00:00 Next wakeup is 2008-11-17 08:15:00 When scheduled via the CGI the Host log shows: Blank i.e. no entries Settings used for testing (have I missed others that are relevant?) BackupsDisable = 0 BlackoutPeriods = Deleted BackupZeroFilesIsFatal = Unticked The on-line documentation at Sourceforge mentions creating an archive at the command line using BackupPC_archiveStart. This method fails as the system cannot find BackupPC_archiveStart. Once archiving is operating as required the next step will be to incorporate "ArchivePreUserCmd" and "ArchivePostUserCmd" to enable the archive to be created on an external Truecrypt disk; however this stage will be tested separately and is mentioned for completeness only. Any and all suggestions on how to get this working will be welcomed. SamK - Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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/