Johan Ehnberg wrote: To do it directly from directories, you could try changing 'zcat' to 'tar --strip-components=X' and point it at the directory. Set X to match the number of path components that should not be included for the archive to make the structure equal to that of the actual host to be backed up. For example 1 would strip home from /home/backup, so that the archive looks like it starts at backup/. ====
Tar complained unless I added the 'c' but it's still erroring out for me. Were you thinking something like this? tar c --strip-components=4 /home/backup/my_web_server_backups/todays_backup/ There has got to be an easier way to import local data into a backup pool for a specific host... +---------------------------------------------------------------------- |This was sent by [email protected] via Backup Central. |Forward SPAM to [email protected]. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ 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/
