From: daniel b. <da...@fi...> - 2007-07-24 08:09:43
|
Le Tue, 24 Jul 2007 09:56:34 +0200, Edouard de Ganay <ed...@no...> a =C3=A9crit : > Hi there again, Hi >=20 > Another question, >=20 > all backups are stores in /opt/backuppc/files/pc > which is find Looks like you're using my contrib for sme server :) >=20 > 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) >=20 > 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 >=20 > 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 >=20 > but I don't know how to do it, > anyone could help me ? >=20 > 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/ >=20 > 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 =20 --=20 Daniel Berteaud FIREWALL-SERVICES SARL. Soci=C3=A9t=C3=A9 de Services en Logiciels Libres Technop=C3=B4le Montesquieu 33650 MARTILLAC Tel : 05 56 64 15 32 Fax : 05 56 64 82 05 Mail: daniel@Firewall-Services.com |