This is an automated email from the ASF dual-hosted git repository.
abh1sar pushed a commit to branch nas-backport
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/nas-backport by this push:
new 1e58104f8e3 make NASBackupFullEvery use NasBackupIncrementalEnabled as
the parent
1e58104f8e3 is described below
commit 1e58104f8e36c737b87f3b9a0899229e091cc816
Author: Abhisar Sinha <[email protected]>
AuthorDate: Fri Sep 11 16:07:50 2026 +0530
make NASBackupFullEvery use NasBackupIncrementalEnabled as the parent
---
.../apache/cloudstack/backup/NASBackupProvider.java | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git
a/plugins/backup/nas/src/main/java/org/apache/cloudstack/backup/NASBackupProvider.java
b/plugins/backup/nas/src/main/java/org/apache/cloudstack/backup/NASBackupProvider.java
index 8eac9b2c457..2ea33be583e 100644
---
a/plugins/backup/nas/src/main/java/org/apache/cloudstack/backup/NASBackupProvider.java
+++
b/plugins/backup/nas/src/main/java/org/apache/cloudstack/backup/NASBackupProvider.java
@@ -93,16 +93,6 @@ public class NASBackupProvider extends AdapterBase
implements BackupProvider, Co
true,
BackupFrameworkEnabled.key());
- ConfigKey<Integer> NASBackupFullEvery = new ConfigKey<>("Advanced",
Integer.class,
- "nas.backup.full.every",
- "10",
- "Take a full NAS backup every Nth backup; remaining backups in
between are incremental. " +
- "Counts backups, not days, so it works for hourly, daily,
and ad-hoc schedules. " +
- "Set to 1 to disable incrementals (every backup is full).",
- true,
- ConfigKey.Scope.Zone,
- BackupFrameworkEnabled.key());
-
ConfigKey<Boolean> NASBackupIncrementalEnabled = new
ConfigKey<>("Advanced", Boolean.class,
"nas.backup.incremental.enabled",
"false",
@@ -116,6 +106,16 @@ public class NASBackupProvider extends AdapterBase
implements BackupProvider, Co
ConfigKey.Scope.Zone,
BackupFrameworkEnabled.key());
+ ConfigKey<Integer> NASBackupFullEvery = new ConfigKey<>("Advanced",
Integer.class,
+ "nas.backup.full.every",
+ "10",
+ "Take a full NAS backup every Nth backup; remaining backups in
between are incremental. " +
+ "Counts backups, not days, so it works for hourly, daily,
and ad-hoc schedules. " +
+ "Set to 1 to disable incrementals (every backup is full).",
+ true,
+ ConfigKey.Scope.Zone,
+ NASBackupIncrementalEnabled.key());
+
@Inject
private BackupDao backupDao;