-
-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Labels
bugIssue accepted as a bugIssue accepted as a bug
Description
Tar img non include dir /proc /lost+found /sys /dev /tmp /boot /run
I solved append /* at the end of --exclude
cmd="tar \
$TAR_BACKUP_OPTIONS \
$TAR_BACKUP_ADDITIONAL_OPTIONS \
${zip} \
${verbose} \
-f $target \
--warning=no-xdev \
--numeric-owner \
--exclude=\"$BACKUPPATH_PARAMETER/*\" \
--exclude=\"$source/$log_file\" \
--exclude='.gvfs' \
--exclude=$devroot/proc/* \
--exclude=$devroot/lost+found/* \
--exclude=$devroot/sys/* \
--exclude=$devroot/dev/* \
--exclude=$devroot/tmp/* \
--exclude=$devroot/boot/* \
--exclude=$devroot/run/* \
$EXCLUDE_LIST \
$source"
Metadata
Metadata
Assignees
Labels
bugIssue accepted as a bugIssue accepted as a bug