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

Backup Profile Description #2406

Open
chraebsli opened this issue Apr 21, 2024 · 4 comments
Open

Backup Profile Description #2406

chraebsli opened this issue Apr 21, 2024 · 4 comments

Comments

@chraebsli
Copy link

The current character limit of the backup profile is 20. It's difficult to create meaningful names with 20 characters only.

I would appreciate it if I could add more context to backup profiles, so I can say what this backup backs up. As an example, I have 2 profiles, one for a complete site backup, which you can extract and it's running, and one for just the data (/user without themes and plugins).

My idea: add a description field, so there is an option to describe the backups/ add more context. The description then could be displayed as a tooltip when the backup profile gets hovered, for example in the dashboard.

@pmoreno-rodriguez
Copy link
Contributor

And where would you store the description information so you can retrieve it later?

@chraebsli
Copy link
Author

chraebsli commented Dec 17, 2024

I'd store it in config/backups.yaml like this (profiles[0].description):

profiles:
  -
    name: Backup name
    description: Some meaningful description about what that backup backs up
    root: /user
    exclude_paths: "/plugins\n/themes"
    exclude_files: ".DS_Store\n.git\n.svn\n.hg\n.idea\n.vscode\nnode_modules"
    schedule: true
    schedule_at: '0 0 * * 1'

@pmoreno-rodriguez
Copy link
Contributor

But if you save the description in a .yaml file, which would be inside the zip of the backup, when you want to restore it, you would have to unzip the zip file and read the description line of the .yaml file, correct?

@chraebsli
Copy link
Author

Sorry if that was unclear. I meant a description in the admin panel > tools > backups for each backup profile to optionally set.

This description then could be displayed as an aria-label/ tooltip in the web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants