22
39
Fork
You've already forked Nextcloud-Backup-Restore
19

Save configuration in extra file #34

Closed
opened 2022年01月02日 17:42:44 +01:00 by DerEntwickler · 7 comments

Dear developer,
thank you for your helpful backup and restore script.
Here my feature request for easy handling:

I would prefere to use a separate "configuration"-file to configure the nessesary variables.
For example you can implement this by using a separate config.file and include this for backup and restore script.

If you need some idears how to do so, pleas ask.

Dear developer, thank you for your helpful backup and restore script. Here my feature request for easy handling: I would prefere to use a separate "configuration"-file to configure the nessesary variables. For example you can implement this by using a separate config.file and include this for backup and restore script. If you need some idears how to do so, pleas ask.

I want to keep these scripts as simple as possible. So all the configuration is contained in the scripts. Use setup.sh in order to set the variables needed in the backup and restore scripts.
Using a configuration file and call the scripts with a parameter specifying the configuration would make the system a little more complex imho.

But feel free to create a PR when you got a good and sinmple solution.

I want to keep these scripts as simple as possible. So all the configuration is contained in the scripts. Use `setup.sh` in order to set the variables needed in the backup and restore scripts. Using a configuration file and call the scripts with a parameter specifying the configuration would make the system a little more complex imho. But feel free to create a PR when you got a good and sinmple solution.
DecaTec changed title from (削除) This is a Feature Request and not an issue (削除ここまで) to Save configuration in extra file 2022年01月03日 12:09:07 +01:00

I made a attempt to keep config in one file and added a pull request:
#36

Please check. It is not tested

I made a attempt to keep config in one file and added a pull request: https://codeberg.org/DecaTec/Nextcloud-Backup-Restore/pulls/36 Please check. It is not tested

I've merged the open PR by @MegaV0lt into a separate branch:
https://codeberg.org/DecaTec/Nextcloud-Backup-Restore/src/branch/config-file

Some work had to be done after that, but the scripts now work after being set up by the setup script.

Please give it a try and provide some feedback.

I've merged the open PR by @MegaV0lt into a separate branch: https://codeberg.org/DecaTec/Nextcloud-Backup-Restore/src/branch/config-file Some work had to be done after that, but the scripts now work after being set up by the setup script. Please give it a try and provide some feedback.

Was anyone able to test the version from the new branch?

Was anyone able to test the version from the new branch?

Was anyone able to test the version from the new branch?

The db-password is now correct. woks fine here. good work and thx.

> Was anyone able to test the version from the new branch? The db-password is now correct. woks fine here. good work and thx.

OK, i'll make a few more tests and prepare for a new release then.

OK, i'll make a few more tests and prepare for a new release then.
v3.0.0 now released: https://codeberg.org/DecaTec/Nextcloud-Backup-Restore/releases/tag/v3.0.0 I'll close this one.
Sign in to join this conversation.
No Branch/Tag specified
master
v3.5.2
v3.5.1
v3.5.0
v3.4.1
v3.4.0
v3.3.0
v3.2.1
v3.2.0
v3.1.0
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v2.3.3
v2.3.2
v2.3.1
v2.3.0
v2.1.1
v2.1.0
v1.1.0
v1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DecaTec/Nextcloud-Backup-Restore#34
Reference in a new issue
DecaTec/Nextcloud-Backup-Restore
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?