#205 Issue closed
: star missing¶
Labels: enhancement
, needs sponsorship
frerichs opened issue at 2013-02-27 10:12:¶
It would be nice if the tar compatible program "star" could be added.
> /usr/share/rear/backup/NETFS/default/50_make_backup.sh
...
case "$(basename ${BACKUP_PROG})" in
# tar compatible programs here
...
(star)
set_star_features
Log $BACKUP_PROG $STAR_OPTIONS -block-number -vv \
$BACKUP_PROG_OPTIONS \
${BACKUP_PROG_BLOCKS:+-b $BACKUP_PROG_BLOCKS} $BACKUP_PROG_COMPRESS_OPTIONS \
-X $TMP_DIR/backup-exclude.txt -C / -c -f "$backuparchive" \
$(cat $TMP_DIR/backup-include.txt) $LOGFILE
$BACKUP_PROG $STAR_OPTIONS -block-number -vv \
$BACKUP_PROG_OPTIONS \
${BACKUP_PROG_BLOCKS:+-b $BACKUP_PROG_BLOCKS} $BACKUP_PROG_COMPRESS_OPTIONS \
-X $TMP_DIR/backup-exclude.txt -C / -c -f "$backuparchive" \
$(cat $TMP_DIR/backup-include.txt) $LOGFILE
;;
...
#\ while the backup runs in a sub-process, display some progress information to the user
case "$(basename ${BACKUP_PROG})" in
(tar|star)
...
> /usr/share/rear/restore/NETFS/default/40_restore_backup.sh
...
case "$BACKUP_PROG" in
# tar compatible programs here
(star)
if [ -s $TMP_DIR/restore-exclude-list.txt ] ; then
BACKUP_PROG_OPTIONS="$BACKUP_PROG_OPTIONS --exclude-from=$TMP_DIR/restore-exclude-list.txt "
fi
Log $BACKUP_PROG --block-number --totals --verbose $BACKUP_PROG_OPTIONS $BACKUP_PROG_COMPRESS_OPTIONS \
-C /mnt/local/ -x -acl -f "$backuparchive"
$BACKUP_PROG --block-number --totals --verbose $BACKUP_PROG_OPTIONS $BACKUP_PROG_COMPRESS_OPTIONS \
-C /mnt/local/ -x -acl -f "$backuparchive"
;;
...
#\ while the backup runs in a sub-process, display some progress information to the user
case "$BACKUP_PROG" in
tar|star)
...
gdha commented at 2013-02-27 11:34:¶
are you using the latest github version? As with tar we also have now
encryption/decryption possibilities.
Would be nice to see a pull request instead. Makes our life much easier
;-)
Thanks for the suggestion. Is star still used a lot out there??
gdha commented at 2013-12-03 12:13:¶
will not get implemented by maintainers - however, we do accept pull requests or sponsorship
[Export of Github issue for rear/rear.]