Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new usr/share/rear/restore/default/99_move_away_restored_files.sh #780

Merged

Conversation

jsmeix
Copy link
Member

@jsmeix jsmeix commented Feb 16, 2016

moves away restored files that should not have been restored according to the BACKUP_RESTORE_MOVE_AWAY_DIRECTORY and BACKUP_RESTORE_MOVE_AWAY_FILES settings, see #779

…iles.sh moves away restored files that should not have been restored according to the BACKUP_RESTORE_MOVE_AWAY_DIRECTORY and BACKUP_RESTORE_MOVE_AWAY_FILES settings, see rear#779
@gdha
Copy link
Member

gdha commented Feb 17, 2016

@jsmeix if it works you may accept your own pull request ;-)

@jsmeix
Copy link
Member Author

jsmeix commented Feb 18, 2016

@gdha many thanks that you had a look at it.

I will ehnace it a bit and then I self-accept it.

I really need and gratefully appreciate it when I get feedback from other rear authors and/or users whether or not my addons or changes at least make sense in general.

@jsmeix
Copy link
Member Author

jsmeix commented Feb 18, 2016

I have tested the enhanced move away functionality so that also a whole directory tee can be moved away by using in /etc/rear/local.conf

BACKUP_RESTORE_MOVE_AWAY_FILES=( /var/tmp /etc/udev/rules.d/70-persistent-net.rules )

and for me everything "just works".

jsmeix added a commit that referenced this pull request Feb 18, 2016
…ored_files_issue779

new usr/share/rear/restore/default/99_move_away_restored_files.sh
@jsmeix jsmeix merged commit 3df6fa2 into rear:master Feb 18, 2016
@jsmeix jsmeix deleted the add_basic_stuff_to_move_away_restored_files_issue779 branch February 18, 2016 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adaptions and new features fixed / solved / done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants