Re: [BackupPC-users] BackupPC - restore not restoring file
On 07/07 01:59 , phil123456 wrote: > - it does not seem to contain any file(see below) wich is expectable since > there are no file in /var/backup on the client system Then choose a test which does have a file to restore. :) > - getting a tar file from the client to the master is the opposite of a > restore (???) To be clear I was using 'master' to mean the BackupPC server, and the 'client' to mean the machine being backed up. Sometimes the terms can be unclear. > on the backup master: > /usr/share/backuppc/bin/BackupPC_tarCreate -h hostname -n -1 -s /var/backup/ > /employees.sql > backup.tar > > tar tvf backup.tar > drwxr-xr-x root/root 4096 2016-07-05 08:52 ./ If as you say, there is not actually an employees.sql file, then this makes sense. -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ 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 - restore not restoring file
it was finaly a permission issue on the folder for backuppc user stupid of me thanks anyway for your tons of infos +-- |This was sent by philippe.flor...@edenred.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ 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 - restore not restoring file
- it does not seem to contain any file(see below) wich is expectable since there are no file in /var/backup on the client system - getting a tar file from the client to the master is the opposite of a restore (???) - as aforementioned, the rsync setup uses the rsync command took me some time to make the command work cos it's really picky on missing slashes on the backup master: /usr/share/backuppc/bin/BackupPC_tarCreate -h hostname -n -1 -s /var/backup/ /employees.sql > backup.tar tar tvf backup.tar drwxr-xr-x root/root 4096 2016-07-05 08:52 ./ +-- |This was sent by philippe.flor...@edenred.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ 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 - restore not restoring file
On 07/06 12:26 , phil123456 wrote: > I really dont understand the usage of backuppc_createtar > > "-h host host from which the tar archive is created" > > but I want to create a restore from the master , not create a tar from a > remote host ...I am sorry, I really dont understand You're on the 'master' - the backup server. The -h is how you specify which host you want to do a restore of. I should have been more clear about what BackupPC_tarCreate gives you - it outputs a tar stream, which you then need to pipe or redirect into a file. So something like: /usr/share/backuppc/bin/BackupPC_tarCreate -h hostname -n -1 -s /var/backup/ employees.sql > employees.tar Then run 'tar tvf employees.tar' to see if you actually have the file(s) you're looking for. 'tar xvf employees.tar' will unpack the tarfile. There's probably GUI ways to do this, but there are so many of them and they change so often I can't say what to do. The point of this exercise is to make sure you can get your files out. Verify that you actually have your files. After that point you can worry about fancy things like restoring files into place. Personally, I don't allow the backup server to restore files into place. Makes me nervous to allow the backup server to clobber files on the client side. It's only a couple of commands to capture the tar stream on the server side, send it across the wire with 'netcat', then capture it on the other side with 'netcat' and pipe the result to tar and unpack the files. Here's a bit of documentation I wrote up a while ago on restoring files across the wire. This is good to know because restoring files in place may not always work for one reason or another. there may be some formatting brokenness since I copied it as plain text out of a wiki. === When restoring files from backuppc, it often happens that you want to restore many files, and don't want to download them from the web interface, due to limitations of bandwidth or file handling capability. For example, some operating systems have limits on how big the files may be, and some software may not operate on files larger than a certain size (4GB .zip files, for example). To bypass the user interface, use the BackupPC_tarCreate command on the command line. $ /usr/share/backuppc/bin/BackupPC_tarCreate --help /usr/share/backuppc/bin/BackupPC_tarCreate version [unknown] calling Getopt::Std::getopts (version 1.05 [paranoid]), running under Perl version 5.8.8. Usage: BackupPC_tarCreate [-OPTIONS [-MORE_OPTIONS]] [--] [PROGRAM_ARG1 ...] The following single-character options are accepted: With arguments: -e -h -n -p -r -s -b -w Boolean (without arguments): -L -l -t Options may be merged together. -- stops processing of options. Space is not required between options and their arguments. [Now continuing due to backward compatibility and excessive paranoia. See ``perldoc Getopt::Std'' about $Getopt::Std::STANDARD_HELP_VERSION.] usage: /usr/share/backuppc/bin/BackupPC_tarCreate [options] files/directories... Required options: -h host host from which the tar archive is created -n dumpNum dump number from which the tar archive is created A negative number means relative to the end (eg -1 means the most recent dump, -2 2nd most recent etc). -s shareNameshare name from which the tar archive is created Other options: -t print summary totals -r pathRemove path prefix that will be replaced with pathAdd -p pathAdd new path prefix -b BLOCKS BLOCKS x 512 bytes per record (default 20; same as tar) -w writeBufSz write buffer size (default 1048576 = 1MB) -e charset charset for encoding file names (default: value of $Conf{ClientCharset} when backup was done) -l just print a file listing; don't generate an archive -L just print a detailed file listing; don't generate an archive You will need to become the backuppc user on the backup server. To find the backup number (dumpNum), look at the web interface or in /var/lib/backuppc/pc/ and see the timestamps on the number directories. Some examples of usage This will take the last backup (number -1), the '/' share thereof, and the '/etc' subdirectory from that share, and redirect the resulting tar stream into a file called /var/tmp/host_example_com-etc.tar /usr/share/backuppc/bin/BackupPC_tarCreate -n -1 -h host.example.com -s / /etc > /var/tmp/host_example_com-etc.tar This example takes everything ('/') from the 'docs' share, and streams it to netcat, where it is directed at 'server' (which hopefully has a corresponding netcat process listening for the data). /usr/share/backuppc/bin/BackupPC_tarCreate -n -1 -h host.example.com -s docs / | nc server On the 'server' side of the above example, a command like this would recieve the data and dump it into the current
Re: [BackupPC-users] BackupPC - restore not restoring file
The -h host is the hostname of the client that has been backed up as if there are multiple backups of hosts with the same file it needs to specify which one. So for example say you want to pull back share of /etc from a host I suspect you're looking to do something alone the lines of: /usr/share/backuppc/bin/BackupPC_tarCreate -h clientserver25 -n -1 -s /etc / > /tmp/etc.tar So in this -h clientserver25 refers to the name of a client you've already backed up that you wish to restore a tar file from as you may have countless clients with the same files and share names. -n -1 refers to the most recent backup copies of files be they incrementals or otherwise. You don';t need to worry about exact paths within the backups taken, Backuppc will figure that out for you, all you need to do is tell it to grab files/folders from either a specific numbered backup or (using a negative value) a copy taken relative to the most recent. -s is the share name as specified in that client's config. This is coming from $Conf{TarShareName} = '/etc'; or equivalent for the host you wish to restore from. The next forward slash means everything within that share and then redirect to a file as default is stdout. The documentation could probably use a few typical usage examples and man pages for the command line tools like this to save a bit digging around in archives of this list. Hope that helps Graham _ Graham Smith Technical Officer Department of Computing Institute of Technology Tallaght Tallaght Dublin 24 Ireland -Original Message- From: phil123456 [mailto:backuppc-fo...@backupcentral.com] Sent: 06 July 2016 08:26 To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] BackupPC - restore not restoring file I really dont understand the usage of backuppc_createtar "-h host host from which the tar archive is created" but I want to create a restore from the master , not create a tar from a remote host ...I am sorry, I really dont understand besides the command used for the restore is really close to rsync for backup : /usr/bin/ssh -q -x -l backuppc alderaan /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /var/backup/ so for restore, it should be something similar +-- |This was sent by philippe.flor...@edenred.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ 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 contents and any attachment of this e-mail are private and confidential. They are intended only for the use of the intended addressee. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you are notified that any copying, forwarding, publication, review or delivery of this e-mail or any attachments to anyone else or any other use of its contents is strictly prohibited. You are prohibited from reading any part of this e-mail or any attachments. If you have received this e-mail in error, please notify the system manager. Unauthorised disclosure or communication or other use of the contents of this e-mail or any part thereof may be prohibited by law and may constitute a criminal offence. Internet e-mails are not necessarily secure. The Institute does not accept responsibility for changes made to this message after it was sent. Unless stated to the contrary, any opinions expressed in this message are personal to the author and may not be attributed to the Institute. -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ 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 - restore not restoring file
I really dont understand the usage of backuppc_createtar "-h host host from which the tar archive is created" but I want to create a restore from the master , not create a tar from a remote host ...I am sorry, I really dont understand besides the command used for the restore is really close to rsync for backup : /usr/bin/ssh -q -x -l backuppc alderaan /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /var/backup/ so for restore, it should be something similar +-- |This was sent by philippe.flor...@edenred.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ 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 - restore not restoring file
I am not sure what happened, but the file cannot be found anywhere on the backuppc host /usr/share/backuppc/bin/BackupPC_tarCreate -h hostname -n -1 -s /var/backup/ employees.sql ./0040755112736654421007730 5ustar rootroot on the host itself $ sudo find / -name employees.sql [sudo] password for **: $ +-- |This was sent by philippe.flor...@edenred.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ 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 - restore not restoring file
On 07/05 12:28 , phil123456 wrote: > on restore, it says it is successfull, but the file is not on the host > and it says there is 1 xferErrs but as I check all the logs, no additional > entries are saying what could go wrong > > 2016-07-05 09:21:31 restore started below directory /var/backup/ to host > hostname > 2016-07-05 09:21:31 restore 0 complete (1 files, 1917 bytes, 0 dirs, 1 > xferErrs) > > also I cant figure out what is the command executed and debug it since it is > not in the log either Presuming that you are using a Debian-like installation, try this command: /usr/share/backuppc/bin/BackupPC_tarCreate -h -n -1 -s /path/to/your/files all on one line of course. For help with what the options mean, just run: /usr/share/backuppc/bin/BackupPC_tarCreate (i.e. with no arguments after the command itself) Note that you need to be running as the 'backuppc' user to do this. So I log in as an ordinary user, then do 'sudo -' to become root, then 'su - backuppc'. -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ 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 - restore not restoring file
Hello, on restore, it says it is successfull, but the file is not on the host and it says there is 1 xferErrs but as I check all the logs, no additional entries are saying what could go wrong 2016-07-05 09:21:31 restore started below directory /var/backup/ to host hostname 2016-07-05 09:21:31 restore 0 complete (1 files, 1917 bytes, 0 dirs, 1 xferErrs) also I cant figure out what is the command executed and debug it since it is not in the log either please help me thanks +-- |This was sent by philippe.flor...@edenred.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ 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 restore freezing
This issue, is also causing newly installed systems to break. I can see that certain files are getting restored, but many installed programs are getting broken (in other words, they are being rendered unusable through the partial restore). I guess my following question is, is there a better way to monitor this restoration process before I determine it is frozen and thus kill the process. +-- |This was sent by vur...@me.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140 ___ 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 restore freezing
I found that trying to do a full restore of / seems to break down here: Sending /vmlinuz (remote=vmlinuz) type = 2 restore l 777 0/0 30 /vmlinuz -> boot/vmlinuz-3.19.0-33-generic Remote[1]: rsync: mknod "/dev/pts/1" failed: Operation not permitted (1) Remote[1]: rsync: mknod "/dev/pts/11" failed: Operation not permitted (1) Read EOF: Tried again: got 0 bytes Done: 215256 files, 5884382843 bytes restore failed: Unable to read 7237443 bytes It seems I need to do more research as to what folders in the / directory can be restored and which shouldn't. I've also discovered that although a restore of, say a particular file or directory, may finish long before the backuppc gui has updated the status. In addition, I have found little to no issues restoring large directories to temporary folders on the client computer, rather than overriding the existing directories during the restore process. I am eager to see what happens when I replace the folders on the system with the ones sent by my backuppc. +-- |This was sent by vur...@me.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140 ___ 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 restore freezing
I'm using ubuntu across 4 different computers in my network - one of which runs backuppc. Anything over 3-4 files seems to cause bakuppc to freeze. Right now I'm actually trying to restore an entire file system to a computer, but I've noticed the same issue occur trying to restore 4 items in a download directory to a separate computer, no less than 30mb total. What I observe using sudo iftop and sudo htop is my server jumps to uploading 50mb/s for several minutes to the designated computer, and then dropping all connection. On top, I see at the same time of the drop, the process stops using the CPU and process up time just pauses and doesn't change after hours. Thus, on the web GUI it looks like the process is running, through htop it looks like the process has frozen. The systems hardware should not be limited enough to cause such freeze ups. How can I diagnose this? +-- |This was sent by vur...@me.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140 ___ 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 restore error
Hello, I have Backuppc running on all my VPS now one VPS is broke I tried to restore it but but I get #tarerr But no logs what's going wrong. If I try some normal files it will work but full restore won’t. How do you guys restore a complete image? Greetz, A.Duim -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 Restore Zip Archive Empty from GUI
Hello everyone, On a new install of BackupPC v4 alpha3, I have zip/tar archive file empty when i try to restore a directory or many files from the BackupPC GUI. (Full Backup or Inc Backup) My tests: 1*/ The command line works and i have all my files (for example) : /usr/share/backuppc/bin/BackupPC_zipCreate -h localhost -c 5 -n -1 -s /etc . etc.zip 2*/ A direct restore with Rsync share works for all (many files / directories) and also when i select juste one file from BackupPC GUI backup browse. 3*/ If i change the stderr -- 0 from the file lib/BackupPC/CGI/Restore.pm : $bpc-cmdSystemOrEvalLong([$BinDir/BackupPC_zipCreate, -h, $host, -n, $num, -c, $In{compressLevel}, -s, $share, -e, $In{codePage}, @pathOpts, @fileList ], sub { print(@_); }, *1*, # ignore stderr ); I get this error in my zip file downloaded : Insecure dependency in open while running setuid at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 74. // Any ideas would be very helpful :o)) Thanks, Tan My setup : * new install of backuppc v4.alpha3 * a new pool v4, no compression * Ubuntu 12.04 LTS * Perl v5.14.2 -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ 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 Restore to Previous Date
CIFS = SMB for unix as best I can tell. Don't know if CIFS does hard links. I see feature pages that say hard link support has been added and a lot of complaints pre-2009 about CIFS not doing hard links. Install it and try. Sent from my phone. Please pardon my brevity, Dan On Jan 25, 2014 3:16 PM, Les Mikesell lesmikes...@gmail.com wrote: On Fri, Jan 24, 2014 at 12:44 AM, shankarp backuppc-fo...@backupcentral.com wrote: Thanks for the reply Les Mikesell. My NAS supports SMB and FTP for file sharing, doesn't support NFS. I think SMB doesn't support hard links. Any solution to use this SMB share as storage location? If the NAS is linux based, it might support the unix CIFS extensions, but I don't have any experience with that. I'd recommend adding local drives to the box running backuppc even if they have to be external. If you like to live on the bleeding edge, there is a new alpha version at: http://sourceforge.net/projects/backuppc/files/backuppc-beta/4.0.0alpha3/ that has a new storage scheme that does not use hardlinks. Not sure if it is ready for prime time, though. -- Les Mikesell lesmikes...@gmail.com -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ 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/ -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___ 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 Restore to Previous Date
On Fri, Jan 24, 2014 at 12:44 AM, shankarp backuppc-fo...@backupcentral.com wrote: Thanks for the reply Les Mikesell. My NAS supports SMB and FTP for file sharing, doesn't support NFS. I think SMB doesn't support hard links. Any solution to use this SMB share as storage location? If the NAS is linux based, it might support the unix CIFS extensions, but I don't have any experience with that. I'd recommend adding local drives to the box running backuppc even if they have to be external. If you like to live on the bleeding edge, there is a new alpha version at: http://sourceforge.net/projects/backuppc/files/backuppc-beta/4.0.0alpha3/ that has a new storage scheme that does not use hardlinks. Not sure if it is ready for prime time, though. -- Les Mikesell lesmikes...@gmail.com -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ 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 Restore to Previous Date
Thank you for the reply Arnold. I could able to select the previous backup for restore. It is working well. I have one more question. Now i am trying to change the storage location to a network drive. I mounted that network drive and modified the $Conf{TopDir}. I also moved the files to that share. But when i restart the backuppc i get some errors saying, Can't create a test hardlink between a file in /media/test/pc and /media/test/cpool. Either these are different file systems, or this file system doesn't support hardlinks, or these directories don't exist, or there is a permissions problem, or the file system is out of inodes or full. Use df, df -i, and ls -ld to check each of these possibilities. Quitting... Is it possible to use network drive to store backuppc files ? If possible how can i do that? Please help me on this. Thank you! +-- |This was sent by shankarpriy...@yahoo.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ 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 Restore to Previous Date
On Thu, Jan 23, 2014 at 6:29 AM, shankarp backuppc-fo...@backupcentral.com wrote: Thank you for the reply Arnold. I could able to select the previous backup for restore. It is working well. I have one more question. Now i am trying to change the storage location to a network drive. I mounted that network drive and modified the $Conf{TopDir}. I also moved the files to that share. But when i restart the backuppc i get some errors saying, Can't create a test hardlink between a file in /media/test/pc and /media/test/cpool. Either these are different file systems, or this file system doesn't support hardlinks, or these directories don't exist, or there is a permissions problem, or the file system is out of inodes or full. Use df, df -i, and ls -ld to check each of these possibilities. Quitting... Is it possible to use network drive to store backuppc files ? If possible how can i do that? Please help me on this. The filesystem has to support hard links and be writable by the backuppc user, so nfs should work - but there is so much disk activity that it is generally better to add the drives to the system running backuppc.Try making the same link from the command line as the backuppc user and you might get a better error message about the actual problem. -- Les Mikesell lesmikes...@gmail.copm -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ 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 Restore to Previous Date
Thanks for the reply Les Mikesell. My NAS supports SMB and FTP for file sharing, doesn't support NFS. I think SMB doesn't support hard links. Any solution to use this SMB share as storage location? +-- |This was sent by shankarpriy...@yahoo.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ 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 Restore to Previous Date
Hello All, I am evaluating backuppc to implement it on our organization as our backup solution. I have noticed that, when restoring it provides the latest backup only. Is it possible to restore to some previous dates using backuppc (not the latest backup) ? Thank you! Regards, Shankar +-- |This was sent by shankarpriy...@yahoo.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ 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 Restore to Previous Date
On Wed, Jan 22, 2014 at 7:26 AM, shankarp backuppc-fo...@backupcentral.com wrote: Hello All, I am evaluating backuppc to implement it on our organization as our backup solution. I have noticed that, when restoring it provides the latest backup only. Is it possible to restore to some previous dates using backuppc (not the latest backup) ? How did you reach that conclusion? Backuppc should let you restore from any backup you have told it to keep and that you can see in the web interface. -- Les Mikesell lesmikes...@gmail.com -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ 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 Restore to Previous Date
Am Wed, 22 Jan 2014 05:26:11 -0800 schrieb shankarp backuppc-fo...@backupcentral.com: Hello All, I am evaluating backuppc to implement it on our organization as our backup solution. I have noticed that, when restoring it provides the latest backup only. Is it possible to restore to some previous dates using backuppc (not the latest backup) ? When you restore, you click on browse files for that node? Above all the shares and files, there is a block of mostly text and some special things. One of these things is a box to select the backup which you want to browse/restore, the other is a link to the history of the current folder. Both can be used to select a certain back-version and restore from that. And if you check the node's detailed status page and see the list of backups, the number in front of each backups line is actually a link to browse/restore that specific version. It leads to the same as browse files and then selecting a version. Have fun, Arnold signature.asc Description: PGP signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___ 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 restore
Huba Zsolt wrote: Hi I'm trying to configure a simple backup solution for a development server, backuppc runs on the server. I use Ubuntu 8.04, backuppc 3.0.0. It seems that creating backups working fine (0 errors on summary page) but restore doesn't work. I tried to restore more files with different permissions but neither of them were restored. I always get this error message: Running: /usr/bin/ssh -q -x -l root localhost env LC_ALL=C /bin/tar -x -p --numeric-owner --same-owner -v -f - -C /tmp Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 6 -s /tmp -t /teszt1 Xfer PIDs are now 7668,7669 Tar exited with error 65280 () status restore failed: BackupPC_tarCreate failed I also would like to ask what is the preferred method to copy the created backup to offline media? I would like to make the backup to the server itself then I would like to copy/sync to an external hdd. Now I sync the backup with this command: rsync -a /backupdir /externalHddDir thanks for help. Hubi I didn't know exactly because I am using rsyncd instead tar. But google is your friend: e.g. http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/tar-exited-with-error-65280-69620/ br Matthias -- Don't Panic -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 restore
Hi I'm trying to configure a simple backup solution for a development server, backuppc runs on the server. I use Ubuntu 8.04, backuppc 3.0.0. It seems that creating backups working fine (0 errors on summary page) but restore doesn't work. I tried to restore more files with different permissions but neither of them were restored. I always get this error message: Running: /usr/bin/ssh -q -x -l root localhost env LC_ALL=C /bin/tar -x -p --numeric-owner --same-owner -v -f - -C /tmp Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 6 -s /tmp -t /teszt1 Xfer PIDs are now 7668,7669 Tar exited with error 65280 () status restore failed: BackupPC_tarCreate failed I also would like to ask what is the preferred method to copy the created backup to offline media? I would like to make the backup to the server itself then I would like to copy/sync to an external hdd. Now I sync the backup with this command: rsync -a /backupdir /externalHddDir thanks for help. Hubi -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 restore???
Hi Joseph, (CC'ing back to the list, BTW: Please don't send HTML mails.) On Thu, Apr 17, 2008 at 12:13:39PM +0100, Joseph Holland wrote: We backed up the:br br /etc/BackupPCbr /usr/local/share/BackupPC (install directory, default is /usr/local/BackupPC)br /var/data/BackupPC (data directory, default is /data/BackupPC)br br I can see the backups file in the folders for each host, /var/data/BackupPC/pc/hostname/backups and there is data in that file.br br br JoeH.br Are you sure that BackupPC is looking at the correct data directory? It sounds like BackupPC is looking somewhere else and sees empty pc/host directories. Do you have the pc/host/somenumber directories as well? HTH, Tino. -- „What we resist, persists.” (Zen saying) www.craniosacralzentrum.de www.forteego.de - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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 restore???
Ok, we have BackupPC version 3 installed on a few servers throughout our company. Recently one of the servers went down. We have been using rsync to backup the BackupPC'c data directory onto a USB drive. I'm just wondering is it possible to restore this data over a fresh install of BaclupPC on another server? I know that I will probably need the /etc/BackupPC and the /usr/local/share/BackupPC directory's to do this and have copied them over my fresh install of BackupPC, but it will not see the old backups. It can see however all the hosts that I was backing up, but says that they have never been backed up by this new install (which is true). Can anyone help me??? Thanks, JoeH. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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 restore???
On Thu, Apr 17, 2008 at 11:53:15AM +0100, Joseph Holland wrote: Ok, we have BackupPC version 3 installed on a few servers throughout our company. Recently one of the servers went down. We have been using rsync to backup the BackupPC'c data directory onto a USB drive. I'm just wondering is it possible to restore this data over a fresh install of BaclupPC on another server? I know that I will probably need the /etc/BackupPC and the /usr/local/share/BackupPC directory's to do this and have copied them over my fresh install of BackupPC, but it will not see the old backups. It can see however all the hosts that I was backing up, but says that they have never been backed up by this new install (which is true). Can anyone help me??? What directories did you exactly backup/rsync. You need to pc/ subdirectories which the backups file in them. HTH, Tino. -- „What we resist, persists.” (Zen saying) www.craniosacralzentrum.de www.forteego.de - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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 restore???
On Thu, 17 Apr 2008 12:53:15 +0200, Joseph Holland [EMAIL PROTECTED] wrote: Ok, we have BackupPC version 3 installed on a few servers throughout our company. Recently one of the servers went down. We have been using rsync to backup the BackupPC'c data directory onto a USB drive. I'm just wondering is it possible to restore this data over a fresh install of BaclupPC on another server? I know that I will probably need the /etc/BackupPC and the /usr/local/share/BackupPC directory's to do this and have copied them over my fresh install of BackupPC, but it will not see the old backups. It can see however all the hosts that I was backing up, but says that they have never been backed up by this new install (which is true). Can anyone help me??? Thanks, JoeH. Did you rsync with the hardlinks option? You can always try to mount the usb disk at the appriorate folder. That should work (atleast it did for me, when doing some testing) Greetings, Koen Linders - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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 restore???
On Thu, 17 Apr 2008 13:27:00 +0200, Koen Linders [EMAIL PROTECTED] wrote: On Thu, 17 Apr 2008 12:53:15 +0200, Joseph Holland [EMAIL PROTECTED] wrote: Ok, we have BackupPC version 3 installed on a few servers throughout our company. Recently one of the servers went down. We have been using rsync to backup the BackupPC'c data directory onto a USB drive. I'm just wondering is it possible to restore this data over a fresh install of BaclupPC on another server? I know that I will probably need the /etc/BackupPC and the /usr/local/share/BackupPC directory's to do this and have copied them over my fresh install of BackupPC, but it will not see the old backups. It can see however all the hosts that I was backing up, but says that they have never been backed up by this new install (which is true). Can anyone help me??? Thanks, JoeH. Did you rsync with the hardlinks option? You can always try to mount the usb disk at the appriorate folder. That should work (atleast it did for me, when doing some testing) Greetings, Koen Linders Ok, a bit too quick: did you rsync to the usb disk with rsync with hardlinks? did you rsync/copy back to local disk with hardlinks? Does mounting the usb drive at the backuppc data folder show your backups? If not, it could be a config thing. Else there might be something wrong with the way you copied the data from (or initially to) the USB disk. Koen Linders - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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 restore problem
Hi all. I'm new to the list, but i have a very important question. I've set up a backup server with backuppc and till yesterday was woring very well. Yesterday it had a porblem with the raid card (3ware) and it lost the root partition...don't ask me why...but it happened (we're at the moment searching a replacement). But untill we find a new server, i wanted to restore a backup that i made with backuppc on the same server but on another partition. I've installed a minimal linux configuration, installed backuppc, configured backuppc to get the datas from the other partition and then make a tar file of the whole / dir. It made it, but when i tried to install that backup on the server, it gave me problems aboout some files not found: tar: ./sbin/e2label: Cannot hard link to `.sbin/findfs': No such file or directory ./sbin/fsck.ext2 tar: ./sbin/fsck.ext2: Cannot hard link to `.sbin/e2fsck': No such file or directory ./sbin/fsck.ext3 tar: ./sbin/fsck.ext3: Cannot hard link to `.sbin/e2fsck': No such file or directory ./sbin/ifup tar: ./sbin/ifup: Cannot hard link to `.sbin/ifdown': No such file or directory ./sbin/mke2fs tar: ./sbin/mke2fs: Cannot hard link to `.sbin/mkfs.ext3': No such file or directory ./sbin/mkfs.ext2 tar: ./sbin/mkfs.ext2: Cannot hard link to `.sbin/mkfs.ext3': No such file or directory ./sbin/tune2fs tar: ./sbin/tune2fs: Cannot hard link to `.sbin/findfs': No such file or directory So i couldn'd do a full restore...i had to install everything new and copy the confs. Why these hard link errors? Is there a special tar command to use? Thanks for the advices. Pier - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 restore failed.. huh?
Hey all, OK got a new error for you. Today I wanted to restore something for the first time.. and wouldn't you know it. Errors.. no restore happening. What I tried to do: I back up localhost to localhost (another drive, same machine). Now as a test I wanted to restore /var/log/uucp.log. A 0byte file. I tell it to restore directly to the machine localhost. Result in the log file: 2005-12-03 04:20:49 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 21 -s /var -t -r /log -p /log/ /log/uucp.log 2005-12-03 04:20:54 Restore failed (BackupPC_tarCreate failed) Not a really informative log message.. I tried the same command as user backuppc: [EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 21 -s /var -t -r /log -p /log/ /log/uucp.log ./log/uucp.log644010131560714012135 0ustar rootrootDone: 1 files, 0 bytes, 0 dirs, 0 specials, 0 errors [EMAIL PROTECTED]:~$ Well, no errors, but no files created either. Any thoughts? My localhost.pl contains: $Conf{XferMethod} = 'tar'; $Conf{TarShareName} = ['/etc']; $Conf{TarShareName} = ['/boot', '/var', '/usr/local', '/etc']; $Conf{TarClientCmd} = '/usr/bin/sudo /etc/backuppc/tarcreate -v -f - -C $shareName+ --totals'; --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backuppc restore failed.. huh?
Hm. Well I thought I found the problem (I couldn't ssh to [EMAIL PROTECTED] without getting a password prompt) but after I fixed that the problem still remained. Ratz! Here's the restorecmd: $Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host /usr/bin/env LC_ALL=C $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+'; Now I've been going through some of the variables.. sshpath is set in localhost.pl: $Conf{SshPath} = '/usr/bin/ssh -p 1234'; (yes we run sshd on another port) $tarPath is just /bin/tar as usual.. $host is localhost.. Don't see the error yet.. OK got a new error for you. Today I wanted to restore something for the first time.. and wouldn't you know it. Errors.. no restore happening. What I tried to do: I back up localhost to localhost (another drive, same machine). Now as a test I wanted to restore /var/log/uucp.log. A 0byte file. I tell it to restore directly to the machine localhost. Result in the log file: 2005-12-03 04:20:49 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 21 -s /var -t -r /log -p /log/ /log/uucp.log 2005-12-03 04:20:54 Restore failed (BackupPC_tarCreate failed) Not a really informative log message.. I tried the same command as user backuppc: [EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 21 -s /var -t -r /log -p /log/ /log/uucp.log ./log/uucp.log644010131560714012135 0ustar rootrootDone: 1 files, 0 bytes, 0 dirs, 0 specials, 0 errors [EMAIL PROTECTED]:~$ Well, no errors, but no files created either. Yes, an archive with one file is created - you can see some of the archive contents in ascii, but pipe it into od -x so see it all. Any thoughts? My localhost.pl contains: $Conf{XferMethod} = 'tar'; $Conf{TarShareName} = ['/etc']; $Conf{TarShareName} = ['/boot', '/var', '/usr/local', '/etc']; $Conf{TarClientCmd} = '/usr/bin/sudo /etc/backuppc/tarcreate -v -f - -C $shareName+ --totals'; I would guess $Conf{TarClientRestoreCmd} is wrong. What is it set to? Craig --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backuppc restore failed.. huh?
[EMAIL PROTECTED] writes: Hm. Well I thought I found the problem (I couldn't ssh to [EMAIL PROTECTED] without getting a password prompt) but after I fixed that the problem still remained. Ratz! Here's the restorecmd: $Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host /usr/bin/env LC_ALL=C $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+'; Now I've been going through some of the variables.. sshpath is set in localhost.pl: $Conf{SshPath} = '/usr/bin/ssh -p 1234'; (yes we run sshd on another port) $tarPath is just /bin/tar as usual.. $host is localhost.. Don't see the error yet.. $Conf{SshPath} needs to be just the executable. What I suspect is happening is that BackupPC trying to run the program /usr/bin/ssh -p 1234, not /usr/bin/ssh, since it breaks up the command into arguments before substituting variables. Try moving the -p 1234 from $Conf{SshPath} to $Conf{TarClientRestoreCmd}. By the way, if you restarted BackupPC it should complain that $Conf{SshPath} is not a valid executable and refuse to start. Craig --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/