File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
packages/server/src/utils/backups Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ WORKDIR /app
29
29
# Set production
30
30
ENV NODE_ENV=production
31
31
32
- RUN apt-get update && apt-get install -y curl unzip zip apache2-utils iproute2 && rm -rf /var/lib/apt/lists/*
32
+ RUN apt-get update && apt-get install -y curl unzip zip apache2-utils iproute2 rsync && rm -rf /var/lib/apt/lists/*
33
33
34
34
# Copy only the necessary files
35
35
COPY --from=build /prod/dokploy/.next ./.next
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " dokploy" ,
3
- "version" : " v0.21.8 " ,
3
+ "version" : " v0.22.0 " ,
4
4
"private" : true ,
5
5
"license" : " Apache-2.0" ,
6
6
"type" : " module" ,
Original file line number Diff line number Diff line change @@ -56,7 +56,9 @@ export const runWebServerBackup = async (backup: BackupSchedule) => {
56
56
writeStream . write ( `Running command: ${ postgresCommand } \n` ) ;
57
57
await execAsync ( postgresCommand ) ;
58
58
59
- await execAsync ( `cp -r ${ BASE_PATH } /* ${ tempDir } /filesystem/` ) ;
59
+ await execAsync (
60
+ `rsync -av --ignore-errors ${ BASE_PATH } / ${ tempDir } /filesystem/` ,
61
+ ) ;
60
62
61
63
writeStream . write ( "Copied filesystem to temp directory\n" ) ;
62
64
You can’t perform that action at this time.
0 commit comments