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

Move BACKUP_DIR to /tmp #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

okraits
Copy link
Contributor

@okraits okraits commented Sep 12, 2016

BACKUP_DIR doesn't contain configuration files but runtime data and thus
should live in /tmp.

BACKUP_DIR doesn't contain configuration files but runtime data and thus
should live in /tmp.
@pivasoftware
Copy link
Owner

pivasoftware commented Sep 15, 2016

I can not change the backup dir to /tmp. Since I want to keep backup file after the router reboot. And saving the backup in tmp will cause the loose of the backup file after the reboot

@feckert
Copy link

feckert commented Dec 14, 2016

@pivasoftware
Maybe it is possible to make it configurable?
The Problem is that if "easycwmp" is running on a device with NAND-flash that on every write to the backup directory a whole erase block of the NAND must be rewritten. I dont know exactly but the backup.xml is written on every INFORM?

@pivasoftware
Copy link
Owner

@feckert
Yes, the backup is writen in every inform.
May be your idea is good. make the backup file path configurable.
Could you open a ticket about that in support.easycwmp.org

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

Successfully merging this pull request may close these issues.

3 participants