Allow read permissions on backups

This commit is contained in:
Greg Hellings
2022-04-13 06:51:26 +00:00
parent 39871d383f
commit 848b61d7ad
+4
View File
@@ -44,4 +44,8 @@ root root postgres
enable = true;
devices = [ "nas" ];
};
services.cron.systemCronJobs = [
"59 2 * * * root chmod -R a+r ${config.services.postgresqlBackup.location} && find ${config.services.postgresqlBackup.location} -type d -exec chmod a+x '{}' \\;"
];
}