Robin,
First, it's best to send questions to the general mail list, which I've
copied.
There are several alternatives for restoring files, depending on how your
installation is set up. There is a web interface that you should figure
out the URL for.
the location of the most current files is
> /d2/backuppc/pc/localhost/57/f%2fd1%2fdata/faccounting/fSTI
The simplest command-line method is using BackupPC_tarCreate, which based
on the path you gave should look like:
su backuppc
/usr/local/BackupPC/bin/BackupPC_tarCreate -h localhost -n 57 -s /d1/data
/accounting/STI | tar -tvf -
This should create a tar archive of the backed up directory tree, and pipe
it into tar to list it out. If it looks correct, you can then replace the
"tar -tvf -" with "tar -xvf -" after cd'ing to the directory below which
you want the files extracted (you might need to do the first command as
root, and chown the directory to backuppc):
mkdir /d1/data/main/STI_recovery
cd /d1/data/main/STI_recovery
/usr/local/BackupPC/bin/BackupPC_tarCreate -h localhost -n 57 -s /d1/data
/accounting/STI | tar -xvf -
This should put the recovered files in
/d1/data/main/STI_recovery/accounting/STI.
Craig
On Mon, Dec 30, 2013 at 3:16 PM, Robin Hood <[email protected]> wrote:
> *Hi, my name is Robin and I somehow lost about 3weeks of data in my live
> directory: /d1/data/accounting/STI. This directory has files and
> subdirectories and files in those subdirectories. *
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Could you email me the command for restoring just that directory to
> anywhere? I would like to temporarily put it in the
> /d1/data/main/STI_recovery folder, but just restoring it to the original
> location would work as well: /d1/data/accounting/STIso far I figured out to
> su as backuppc and then change to its home directory by cd ~backuppc. That
> way it won't have any permission problems I was told on a webpage.the
> location of the most current files is
> /d2/backuppc/pc/localhost/57/f%2fd1%2fdata/faccounting/fSTII just took over
> this Linux server/windows client network, the previous IT person said they
> did not even really think the backup was running, but it was! They don't
> seem to have installed the GUI interface to backuppc, or at least I don't
> know how to access it or to check if it is actually installed. I noticed
> that the files seems to be compressed as they are smaller than the older
> files in the 'live' directory. And files and folders have an 'f' appended
> to the beginning of the name. Would there be a way to just decompress these
> files and then maybe use: rename -v "s/^f//g" *.* to remove the f from the
> files and rename -v "s/^f//g" */ for the directories. (That is probably a
> funny idea to you). I am just trying to get this done and have been up for
> 24 hours straight with all of the recovery that was required due to a
> windows error regarding authenticating to the linux domain. I am fried. Of
> course, I am hoping there is just a straight forward restore command that
> is native to backuppc. The linux server is Debian with Linux
> 2.6.32-5-amd64. I have not found out how to get the version of backuppc
> yet. Iwent through all the config files in /etc/backuppc and could not find
> any version information. I have been researching online. I would greatly
> appreciate your help,Thanks,*
>
> Robin Hood, MCSE+I, CCNA, CWNA, BA
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/