Le Tue, 24 Jul 2007 09:56:34 +0200,
Edouard de Ganay <[EMAIL PROTECTED]> a écrit :

> Hi there again,

Hi
> 
> Another question,
> 
> all backups are stores in /opt/backuppc/files/pc
> which is find
Looks like you're using my contrib for sme server :)
> 
> I'd like to make these files public (readonly) in my samba server (in
> sme7.2), which means that files have to be under
> /home/e-smith/files/ibays/backup(name of my share on the server)/files

The files in the pool are stored in a special way, they cannot be used
directly through a samba share (especially if they are compressed)
> 
> I could change the parameter : topdir in backuppc to the acurate
> folder, but it would also put the entire /opt/bacuppc/files in the
> samba share, and not only the subfolder /pc
Changing the topdir won't work, you'll need to change the path in some
script (/usr/local/BackupPC/bin/...). Anyway, you cannot move just the
subfolder pc/, you need to move all the data dir
> 
> Then I thought that there might be the possibility to create a
> shortcut saying /home/e-smith/files/ibays/backup/files is a shortcut
> of the real /opt/backuppc/files/pc folder
I never tried this way, but I think it's not a good idea
> 
> but I don't know how to do it,
> anyone could help me ?
> 
> thanks,

Sorry, but I think this cannot be done, just look at the directory pc/,
for example, the backup num 35 of the localhost:

ll /opt/backuppc/files/pc/localhost/35/f%2f/



> 
> Edd
> -rw-r-----   3 backuppc backuppc  227 jun 25 21:09 attrib
drwxr-x---   2 backuppc backuppc 4096 jun 26 21:02 fbin
drwxr-x---   4 backuppc backuppc 4096 jun 26 21:02 fboot
drwxr-x---   2 backuppc backuppc 4096 jun 26 21:02 fcommand
drwxr-x---  63 backuppc backuppc 4096 jun 26 21:03 fetc
drwxr-x---   4 backuppc backuppc 4096 jun 26 21:03 fhome
drwxr-x---   2 backuppc backuppc 4096 jun 26 21:03 finitrd
drwxr-x---  10 backuppc backuppc 4096 jun 26 21:03 flib
drwxr-x---   2 backuppc backuppc 4096 jun 26 21:03 flost+found
drwxr-x---   5 backuppc backuppc 4096 jun 26 21:03 fmedia
drwxr-x---   2 backuppc backuppc 4096 jun 26 21:03 fmnt
drwxr-x---   2 backuppc backuppc 4096 jun 26 21:03 fopt
drwxr-x---   3 backuppc backuppc 4096 jun 26 21:03 fpackage
drwxr-x---   6 backuppc backuppc 4096 jun 26 21:03 froot
drwxr-x---   3 backuppc backuppc 4096 jun 26 21:03 fsbin
drwxr-x---   4 backuppc backuppc 4096 jun 26 21:03 fselinux
drwxr-x---   2 backuppc backuppc 4096 jun 26 21:03 fservice
drwxr-x---   2 backuppc backuppc 4096 jun 26 21:03 fsrv
drwxr-x---  15 backuppc backuppc 4096 jun 26 21:05 fusr
drwxr-x---  24 backuppc backuppc 4096 jun 26 21:06 fvar

You have a 'f' before each file name. If you are using compression,
you'll need to zcat each file before using it:

/usr/local/BackupPC/bin/BackupPC_zCat \
/opt/backuppc/files/pc/localhost/35/f%2f/fetc/fshadow > \
/path/where/you/want/your/file/to/be/restored

it's not very practicle


Cheers, Daniel
 



-- 
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 82 05
Mail: [EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to