Skip to content

Releases: TISUnion/PrimeBackup

PrimeBackup v1.6.2

26 Dec 15:27
07cfa6f
Compare
Choose a tag to compare
  • Fixed db backup job does not support old sqlite3 that doesn't support the VACUUM INTO statement. Make it work

PrimeBackup v1.6.1

23 Dec 13:07
2556edb
Compare
Choose a tag to compare
  • Fixed incompatibility with python 3.8 (#8)

PrimeBackup v1.6.0

22 Dec 18:08
bae561b
Compare
Choose a tag to compare

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 and gzip 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

18 Dec 18:16
5f3e31c
Compare
Choose a tag to compare

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 in requirements.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 and help subcommands

PrimeBackup v1.4.1

17 Dec 16:53
8fcd45c
Compare
Choose a tag to compare

Fixes

  • Fixed unable to do cross-device fast file copy in linux (#6)

PrimeBackup v1.4.0

16 Dec 12:23
c980755
Compare
Choose a tag to compare

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

13 Dec 16:11
7aa73a9
Compare
Choose a tag to compare

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

12 Dec 18:23
f00f206
Compare
Choose a tag to compare

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

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

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

11 Dec 18:06
b22a1a5
Compare
Choose a tag to compare
  • 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
  • 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

10 Dec 17:25
b32d894
Compare
Choose a tag to compare
  • 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: now interval and crontab cannot be set at the same time