Question AHow to get troubleshooting tips for various storage issues?
AnswerThere are several troubleshooting tips on every storage type:
Question BHow to limit the number of backups kept (e.g the last 20 builds)?
AnswerEach storage location has a setting titled ‘Max Backups’. When this limit is exceeded, the oldest backup will be deleted. If set to 0 then no backups areremoved. To enable goto Duplicator Pro > Storage > Edit Storage Item > Set Max Backups.
Because the max backups is tied to each storage endpoint the main backups screen will still contain an entry or audit trail of the transaction. For exampleff the backup the ‘Default storage type’ is set to say 3 ‘Max Backups’ then only the 3 top most backups in the backup screen will have a Download buttonthat works because the local default backups have been removed.
Question CHow to prevent manual builds from getting counted in scheduled max builds?
AnswerThe best way to separate manual build backups from scheduled build backups is to assign different storage locations. Since the storage location is the component that definesthe “Max backups” setting. Also, when creating different storage types make sure they point to a slightly different path. If they are pointing to the same directory then theywill interfere with one another. For instance you could set things up like:
- /my_backup_path/manual
- /my_backup_path/scheduled