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

Instance backups #15

Closed
krystian-panek-vmltech opened this issue Jan 5, 2023 · 4 comments · Fixed by #42
Closed

Instance backups #15

krystian-panek-vmltech opened this issue Jan 5, 2023 · 4 comments · Fixed by #42
Labels
new feature Completely a new feature (not existing before)

Comments

@krystian-panek-vmltech
Copy link
Contributor

https://github.com/wttech/gradle-aem-plugin/blob/main/docs/local-instance-plugin.md#task-instancebackup

@krystian-panek-vmltech krystian-panek-vmltech added enhancement new feature Completely a new feature (not existing before) and removed enhancement labels Jan 5, 2023
@krystian-panek-vmltech
Copy link
Contributor Author

krystian-panek-vmltech commented Jan 8, 2023

consider using more advanced file formats which are supported by https://github.com/mholt/archiver;
how about
zstd - https://github.com/facebook/zstd
or
Snappy? - https://github.com/google/snappy

@krystian-panek-vmltech
Copy link
Contributor Author

krystian-panek-vmltech commented Jan 9, 2023

use a separate archive file for each compressed instance folder;

file name convention [instance.ID]-[aem version?]-[yyyyhhmmss].aem.i.zst (read as aem instance zstd compressed)
since instance backup task will require instance running then aem version reading will be easy`

maybe task could also work with aem instance already down then aem version will be needed to be supplemented manually or whole suffix could be then set manually from flag --suffix or --version or --name sth like that

@krystian-panek-vmltech
Copy link
Contributor Author

trying to implement formats using *.zstd format, initially works but not as effective as it could be, dictionary need to be somehow configured; waiting for response - mholt/archiver#366

@krystian-panek-vmltech
Copy link
Contributor Author

Simply register own format with aemb ext and build them configure dict for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Completely a new feature (not existing before)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant