[BackupPC-users] Efficiently browsing backups
Hi all, What is the best way to find a file or directory within a backup? The problem is that I know the sub-path, but not some of the parent paths. I also do not know which host the backup got created on... Example: /var/lib/origin/openshift.local.volumes/pods/5eded17a-73f8-11ea-b0e7-001a4a160109/volumes/kubernetes.io~glusterfs/pvc-02bd67a0-0493-11e9-8c1a-001a4a160120/volume/mydata I know everything that is belowpvc-XXX/volume/mydata, but I do not know5eded17a-73f8-11ea-b0e7-001a4a160109. There are hundreds to a couple thousand directories directly underpods/, and that is the case for every host. How would you guys go about this? I started by doing /usr/local/BackupPC/bin/BackupPC_ls -R -h myhost -n 497 -s / /var/lib/origin/openshift.local.volumes/pods | grep "pvc-02bd67a0-0493-11e9-8c1a-001a4a160120" but that seems like an inefficient approach... Thanks! ___ 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] Recommended settings for BackupPC v4 on ZFS
Thanks for the tip! On 9/12/19 3:03 PM, Robert Trevellyan wrote: > Your TL;DR: for ashift refers to ZFS record size, but ashift > determines block size (smallest I/O, with 12 meaning 4096 bytes to > match common modern hard drive sector size), not record size. > > Robert Trevellyan > > > On Thu, Sep 12, 2019 at 8:22 AM Alwyn Kik <mailto:al...@proteon.com>> wrote: > > I did some research for this a while ago, and currently use the > following setup: > https://gist.github.com/Alveel/c8e80aeef208a7e27c9bd50d0023420c Of > course this is still far from perfect, and I welcome more ideas or > criticism, but perhaps it can help you out :) > > On 9/11/19 10:03 PM, Carl Soderstrom wrote: > >> On 09/11 09:40 , Alexander Moisseev via BackupPC-users wrote: >>> On 11.09.2019 18:19, Robert Trevellyan wrote: >>>> I'm letting ZFS do the compression (using the default of LZ4) with >>>> BackupPC handling deduplication. I think you'll find a reasonable >>>> consensus that ZFS compression is always a win for storage space (it will >>>> store un-compressible data unmodified), whereas ZFS deduplication is best >>>> avoided in most cases, mostly due to its high memory usage. It's possible >>>> that BackupPC compression would be tighter than LZ4, >>> Actually, on ZFS you are not limited to LZ4, but in ZFS each file block >>> is compressed independently, that is why in most cases BackupPC compression >>> is higher, though it depends on data. >>> >>> We moved from 77.96G cpool to pool on compressed filesystem recently. >>> Now it consumes 81.2G, so there is not much difference. >>> >>> # zfs get compression,compressratio,recordsize,referenced zroot/bpc/pool >>> NAMEPROPERTY VALUE SOURCE >>> zroot/bpc/pool compressiongzip-3local >>> zroot/bpc/pool compressratio 3.87x - >>> zroot/bpc/pool recordsize 128K default >>> zroot/bpc/pool referenced 81,2G - >> Thanks Alexander, those details are really helpful. >> > -- > Alwyn > > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > <mailto: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 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/ -- A. Kik ___ 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] Recommended settings for BackupPC v4 on ZFS
I did some research for this a while ago, and currently use the following setup: https://gist.github.com/Alveel/c8e80aeef208a7e27c9bd50d0023420c Of course this is still far from perfect, and I welcome more ideas or criticism, but perhaps it can help you out :) On 9/11/19 10:03 PM, Carl Soderstrom wrote: > On 09/11 09:40 , Alexander Moisseev via BackupPC-users wrote: >> On 11.09.2019 18:19, Robert Trevellyan wrote: >>> I'm letting ZFS do the compression (using the default of LZ4) with BackupPC >>> handling deduplication. I think you'll find a reasonable consensus that ZFS >>> compression is always a win for storage space (it will store >>> un-compressible data unmodified), whereas ZFS deduplication is best avoided >>> in most cases, mostly due to its high memory usage. It's possible that >>> BackupPC compression would be tighter than LZ4, >> Actually, on ZFS you are not limited to LZ4, but in ZFS each file block is >> compressed independently, that is why in most cases BackupPC compression is >> higher, though it depends on data. >> >> We moved from 77.96G cpool to pool on compressed filesystem recently. Now it >> consumes 81.2G, so there is not much difference. >> >> # zfs get compression,compressratio,recordsize,referenced zroot/bpc/pool >> NAMEPROPERTY VALUE SOURCE >> zroot/bpc/pool compressiongzip-3local >> zroot/bpc/pool compressratio 3.87x - >> zroot/bpc/pool recordsize 128K default >> zroot/bpc/pool referenced 81,2G - > Thanks Alexander, those details are really helpful. > > -- Alwyn ___ 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] Steps to get V4.3.0 running ASAP
Glad you found your solution. I would argue the easiest/fastest right now would be to use a docker image. We've been using adferrand/backuppc for about a month now and it works well. Besides learning docker if you haven't already and setting up a reverse proxy, I don't think it should take longer than 30 minutes to set up. Cheers! -BEGIN PGP MESSAGE- hQEMA0e9wLtV1fbpAQf+ICvT3ABerTSXYOG8+vB21KL2M8IWzn0dUvMHUQ+sIfdo OlF07MjltDNPU4GukhBqVNNx0sGRwS/H8tOMeTXnY8jXQMc3CSTTXpTkp4INaWk9 JUcOwcocaVkxgZogTmtl9eMU5AMAsLIa+K6LkRijD2HIPHQqL1v4k84fGWIZxHvh MDk5Eg0tMIQuzGeJ/huZb/8pCN7e00XWbnnudapNBvM2gYFQuykDKqg2zTw6aAHM Sa75YNFihY5c1KuO6DT3BpSk2v4okZqEWj+9ypSRYhbKhkVVlpw6q8GYPL5Zsm4o 792gPIU6RJi2/CI2DIvUmIRjlu3oHEafkX/dANCrCNLrAdh180hQ5/OBp7hfd+wE IxXKhCxJgYhHlXXVxyJwgZH808UxQlEr6iGNNofLcNrl/Iuyx9pKTHMnenUoxBvH hXhjFEc3bJTlNf9X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F090ZJu4LbWXiDSJWt2M4pu2I1 Epke4giRG/E4sCCPNBREDFX6ajK+uoCU9BifvzbwC9o55BPx63cZlM41tf5SZniQ 3H2CBBVv7PG5R/Fy4C8tDKHpSTBEYdhv+DUBu3u0yEiogpuZPYo6gB8TkWYSZszT D1BstvZEjJR6ExPcIeI7rQHrrJj3CdY5bbTS2usuNfTi0njGofbYIY+si32nGCdx PATb3VLwoWHhkjJp5ENBGoEfJyMeeR1YZ0iisRBrUGMhrBZZbw== =fT0t -END PGP MESSAGE- noname Description: application/pgp-encrypted ___ 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] Pool subdirectories default permissions
Craig, The permissions are as follows: - pc 0755 - pool 0755 - pc subdirectories 0750, so those look fine - pool subdirectories are 0777, and files are 0444 I manually changed the permissions of these folders for now, however new directories appear to be 0777 again. Using rsyncd on one instance, and rsync on another. The specific instance I started this mail for is rsync. BackupPC version 4.3.0, rsync_bpc version 3.0.9.12. Thanks, Alwyn On Wed, Dec 5, 2018 at 6:19 PM Craig Barratt via BackupPC-users wrote: > > Alwyn, > > 23 decimal = 027 (octal), which should mask off other rwx permissions. > > What are the permissions on the pool and cpool directories? If you look > inside the pc directories, what are the permissions there? > > What Xfer method are you using? What is your version of BackupPC and > rsync_bpc? > > Craig > > > > On Wed, Dec 5, 2018 at 12:47 AM Alwyn Kik wrote: >> >> ZFS, where the ZFS filesystem is in a zpool using disks directly. >> >> On Tue, Dec 4, 2018 at 3:52 PM Tony Schreiner >> wrote: >> > >> > What type of filesystem is your pool on? >> > >> > On Tue, Dec 4, 2018 at 6:44 AM Alwyn Kik wrote: >> >> >> >> Apparently it was set to '23'. >> >> >> >> That said, on our other instances it is set to '027', and the directories >> >> in pool are still 777. >> >> >> >> Thanks, >> >> >> >> Alwyn >> >> >> >> On 12/4/18 5:51 AM, Craig Barratt via BackupPC-users wrote: >> >> >> >> What is $Conf{UmaskMode} set to? >> >> >> >> Craig >> >> >> >> On Mon, Dec 3, 2018 at 9:43 AM Alwyn Kik wrote: >> >>> >> >>> I noticed every subdirectory under $TopDir/pool has permissions 777 by >> >>> default. >> >>> >> >>> Can anyone elaborate on why that might be? Is it possible to change that? >> >>> >> >>> Thanks! >> >>> >> >>> ___ >> >>> 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 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 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 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 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 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 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] Pool subdirectories default permissions
ZFS, where the ZFS filesystem is in a zpool using disks directly. On Tue, Dec 4, 2018 at 3:52 PM Tony Schreiner wrote: > > What type of filesystem is your pool on? > > On Tue, Dec 4, 2018 at 6:44 AM Alwyn Kik wrote: >> >> Apparently it was set to '23'. >> >> That said, on our other instances it is set to '027', and the directories in >> pool are still 777. >> >> Thanks, >> >> Alwyn >> >> On 12/4/18 5:51 AM, Craig Barratt via BackupPC-users wrote: >> >> What is $Conf{UmaskMode} set to? >> >> Craig >> >> On Mon, Dec 3, 2018 at 9:43 AM Alwyn Kik wrote: >>> >>> I noticed every subdirectory under $TopDir/pool has permissions 777 by >>> default. >>> >>> Can anyone elaborate on why that might be? Is it possible to change that? >>> >>> Thanks! >>> >>> ___ >>> 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 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 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 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 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] Pool subdirectories default permissions
Apparently it was set to '23'. That said, on our other instances it is set to '027', and the directories in pool are still 777. Thanks, Alwyn On 12/4/18 5:51 AM, Craig Barratt via BackupPC-users wrote: > What is $Conf{UmaskMode} set to? > > Craig > > On Mon, Dec 3, 2018 at 9:43 AM Alwyn Kik <mailto:al...@proteon.com>> wrote: > > I noticed every subdirectory under $TopDir/pool has permissions > 777 by default. > > Can anyone elaborate on why that might be? Is it possible to > change that? > > Thanks! > > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > <mailto: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 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 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] Pool subdirectories default permissions
I noticed every subdirectory under $TopDir/pool has permissions 777 by default. Can anyone elaborate on why that might be? Is it possible to change that? Thanks! ___ 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/