backup-skript's Issues
handle symlink loops
or solve this issue manually.
see: https://serverfault.com/questions/466651/force-rsync-to-copy-symlink-even-if-referent-does-not-exist
handle "symlink has no referent"
Handle symlinks without referent.
Or better manually solve this issue.
see: https://serverfault.com/questions/466651/force-rsync-to-copy-symlink-even-if-referent-does-not-exist
check if target is mounted correctly
To prevent the script from filling the root partition, it should be checked if the target folder is mounted correctly.
see: https://stackoverflow.com/questions/9422461/check-if-directory-mounted-with-bash
change "busybox not found"-warning for QNAP to Entware-NG instead pf Optware
busybox wurde nicht gefunden.
Bitte Pfad ueberpruefen (/opt/bin/busybox)
oder ggf. busybox ueber Optware/IPIKG nachinstallieren!
Use last backup.n if backup.0 does not exist
Use last backup.n if backup.0 does not exist
use latest "backup.n" folder if "backup.0" does not exist
If there is a problem with "backup.0" you can delete it.
But to get the scprit working correctly (using hard links) you need to copy the last working backup-folder to backup.0.
This is not user friendly and could be made easier if not "backup.0", but the latest "backup.n" folder was used for the next backup.
[get_backup_size.sh] support BusyBox
When running on a system where ls is part of BusyBox, the options -x
ans ´--hide` are not supported.
It looks like they can just be left out.
But this needs to be verified first.
Maybe we need to check the system first and use different command for different systems.
The log-folder may need to be hidden with another trick.
Add snippets of usefull commands
Add snippets of usefull commands.
Like restor, copy or move backup-folder, etc.
support bwlimit to limit bandwith
[get_backup_size.sh] only calculate last X folders
Instead of scanning all backup-folders, which may take much time, it would be useful to define how many folders the user wants to check.
Like: get_backup_size.sh -n 5
use two/three-digit numbers for backup-numbering
To better sort the backup.* folders alphanumerically, the numbers should all have two or three digits.
example:
now:
backup.0
backup.1
backup.10
backup.11
backup.12
backup.2
backup.3
backup.4
backup.5
backup.6
backup.7
backup.8
backup.9
better:
backup.00
backup.01
backup.02
backup.03
backup.04
backup.05
backup.06
backup.07
backup.08
backup.09
backup.10
backup.11
backup.12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.