1 parent d3b33cd commit e501276Copy full SHA for e501276
1 file changed
DriveBackup/src/main/java/ratismal/drivebackup/uploaders/s3/S3Uploader.java
@@ -108,7 +108,8 @@ public void pruneBackups(String type) throws Exception {
108
if (fileLimit == -1) {
109
return;
110
}
111
- TreeMap<ZonedDateTime, Item> files = getZipFiles(type);
+ String destination = ConfigParser.getConfig().backupStorage.remoteDirectory;
112
+ TreeMap<ZonedDateTime, Item> files = getZipFiles(destination + "/" +type);
113
if (files.size() > fileLimit) {
114
logger.info(
115
intl("backup-method-limit-reached"),
0 commit comments