Releases: TISUnion/PrimeBackup
Releases · TISUnion/PrimeBackup
PrimeBackup v1.6.2
- Fixed db backup job does not support old sqlite3 that doesn't support the
VACUUM INTO
statement. Make it work
PrimeBackup v1.6.1
- Fixed incompatibility with python 3.8 (#8)
PrimeBackup v1.6.0
News
- Added root config
concurrency
indicating the maximum concurrency to be used during all task and action executions (#3)- Backup creation action: support concurrent file hash pre-scan
- Backup exporting to directory action: support concurrent export
- Blob validation action: support concurrent validation
Changes
- Make
lzma
andgzip
modules load-on-demand, in case the python environment does not include these modules - Ensure the current compress method library exists on plugin loaded
- Remove existing undeleted trash bins before directory export
Fixes
- Handling more errno for copy-on-write fast copy properly (#7)
- Fixed some permission checkers do not work
- Improved robustness on compress method migration
PrimeBackup v1.5.0
News
- Added
!!pb database migrate_compress_method
command to migrate compress method for all blobs - Let the
!!pb database
command works like the!!pb help database
command - Added a file logger to log backup restoring operations (at
pb_files/logs/restore.log
)
Changes
- Reply not abort-able when aborting a task who's
is_abort_able
returns false - Ensure file loggers use utf8 encoding
- More precise
APScheduler
version requirement inrequirements.txt
- More logging messages for file / blob validation action
- Lots of other small improvements and doc updates
Fixes
- Fixed error during file validation for the
!!pb database validate
command - Fixed missing command permission settings for
crontab
andhelp
subcommands
PrimeBackup v1.4.1
Fixes
- Fixed unable to do cross-device fast file copy in linux (#6)
PrimeBackup v1.4.0
News
- Added
!!pb diff
command to show differences between two backups - Added
!!pb inspect
commands to inspect backups, files and blobs
Changes
- For
ExportBackupToTarAction
, set uname and gname in tar file whenever possible
Fixes
- Fixed JobLookupError after backup created if the plugin is unloading
- Fixed a few errors that occurred when the pb storage root is on a different file system than the backup source root (#5)
PrimeBackup v1.3.0
News
- Added support for those old sqlite version that does not support json query. Not very efficient but it works
- Added
-a
flag as an alternative to--all
in the!!pb list
command for easier usage
Changes
- More restrictive
!!pb confirm
and!!pb abort
- You can only confirm / abort your tasks, unless you have enough permission, or the task is a special case (the restore task allows everyone to abort)
- Change
!!pb list
command optional argument names: use--from
and--to
instead of--start
and--end
for date range argument - Prune backupjob: Increase the default interval, and reduce its logging messages
- Restore backup task: Always broadcast backup information whether confim is needed
- Increase max ongoing task for light tasks, from 3 to 5
Fixes
- Fixed incompatibility with python3.8
PrimeBackup v1.2.0
News
- Added
!!pb import
MCDR command, so you can import in MCDR now - Added more tar-derived file extension support, e.g.
.tgz
for tar + gz - Added bz2 support for tar formats
- Added the backup meta check during importing backup by default
- Can be disabled with
--no-meta
- Can be disabled with
Changes
- Show db file size for database overview commands
- Refine the
ExportBackupToDirectoryAction
logic- Affected less files in extract / export mode, keep consistent on restore mode
- Make the export rollback-able on failure
- Make the ExportBackupToDirectoryAction action rollback-able
- Backup creation no longer scan into symlink target directory. Always follow the as-is policy
- If you are using symlink as target, you should turn on the
follow_target_symlink
config option
- If you are using symlink as target, you should turn on the
Fixes
- Fixed cannot import zip backup if the modes of its files are 0. Zips created by windows softwares often don't have these mode information
- Fixed scheduled backup error if the job is in crontab mode
PrimeBackup v1.1.0
- Add
!!pb database migrate_hash_method
command, to migrate to another hash method- You can now change the
hash_method
after the plugin is enabled. Make your choice casually XD - The command might take a long time, depends on how many blob / files there are
- You can now change the
- Loosen the hash method check
- Always use the database one in all situation
- A warning will be printed if the hash method in the config is different to the hash method stored in the database
- Fix cannot import
tar.zst
backup
PrimeBackup v1.0.1
- Fixed object count query issue when database is empty
- Reset the scheduled backup timer only for interval mode
- It's meaningless to reset a crontab timer
- Stricter
CrontabJobSetting
value check: nowinterval
andcrontab
cannot be set at the same time