1
Fork 0
mirror of https://github.com/Steffo99/backup-duplicity.git synced 2024-12-22 11:34:22 +00:00

Merge branch 'v0_2'

# Conflicts:
#	.idea/modules.xml
This commit is contained in:
Steffo 2023-05-17 14:35:27 +02:00
commit f3809f4b0f
Signed by: steffo
GPG key ID: 2A24051445686895
5 changed files with 35 additions and 1 deletions

8
.idea/.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

10
.idea/misc.xml Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DiscordProjectSettings">
<option name="show" value="ASK" />
<option name="description" value="" />
</component>
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

View file

@ -14,7 +14,7 @@ WORKDIR /var/lib/duplicity
ENV HOME="/var/lib/duplicity" ENV HOME="/var/lib/duplicity"
# Configure entrypoint and command # Configure entrypoint and command
ENTRYPOINT ["crond", "-f", "-d", "5"] ENTRYPOINT ["./entrypoint.sh"]
CMD [] CMD []
# Add image labels # Add image labels

7
entrypoint.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
echo "Running first backup..."
./backup.sh
echo "Running cron for daily backups..."
crond -f -d 5 -l info