Portál AbcLinuxu, 14. května 2025 17:16
tar czvf archiv.tgz adr1 /jinde/adr2
rsync
.
Pak také budeš chtít inkrementální zálohy, aby jsi se mohl vrátit k něčemu, co se rozbilo/smazalo dřív, než je poslední záloha. Koukni na rsync --link-dest
, nebo na kombinaci rsync
s BTRFS snapshoty.
rsync --link-dest
to triviální je, neboť se to deduplikuje na úrovni souborového systému a vypadá to jako běžné adresáře.
Pokud jde jen o nastavení, tak bych to radši verzoval Gitem. Ušetříš si kopec výkonu i nějaké to místo na disku.
autoreconf --install ./configure makeale skoncil som pri make:
.... mv -f .deps/parse.Tpo .deps/parse.Po gcc -DHAVE_CONFIG_H -I. -Wall -O3 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -MT initialize.o -MD -MP -MF .deps/initialize.Tpo -c -o initialize.o initialize.c mv -f .deps/initialize.Tpo .deps/initialize.Po gcc -DHAVE_CONFIG_H -I. -Wall -O3 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -MT operations.o -MD -MP -MF .deps/operations.Tpo -c -o operations.o operations.c mv -f .deps/operations.Tpo .deps/operations.Po rm: cannot remove 'rdiff-backup-fs': Is a directory Makefile:465: recipe for target 'rdiff-backup-fs' failed make[2]: *** [rdiff-backup-fs] Error 1 make[2]: Leaving directory '/root/src/rdiff-backup-fs' Makefile:542: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/root/src/rdiff-backup-fs' Makefile:369: recipe for target 'all' failed make: *** [all] Error 2
autoreconf --install ./configure makeale skoncil som pri make:
.... mv -f .deps/parse.Tpo .deps/parse.Po gcc -DHAVE_CONFIG_H -I. -Wall -O3 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -MT initialize.o -MD -MP -MF .deps/initialize.Tpo -c -o initialize.o initialize.c mv -f .deps/initialize.Tpo .deps/initialize.Po gcc -DHAVE_CONFIG_H -I. -Wall -O3 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -MT operations.o -MD -MP -MF .deps/operations.Tpo -c -o operations.o operations.c mv -f .deps/operations.Tpo .deps/operations.Po rm: cannot remove 'rdiff-backup-fs': Is a directory Makefile:465: recipe for target 'rdiff-backup-fs' failed make[2]: *** [rdiff-backup-fs] Error 1 make[2]: Leaving directory '/root/src/rdiff-backup-fs' Makefile:542: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/root/src/rdiff-backup-fs' Makefile:369: recipe for target 'all' failed make: *** [all] Error 2
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.