Skip to content

Commit

Permalink
fix destination
Browse files Browse the repository at this point in the history
  • Loading branch information
AvidDabbler committed Feb 5, 2024
1 parent 684af12 commit 10854cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drizzle/backup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ export async function backupS3Object(bucket: string, filePath: string, destinati
}

cron.schedule('* * * * *', () => {
backupS3Object(envConfig.S3_BUCKET, 'data.db', 'drizzle/data.db')
backupS3Object(envConfig.S3_BUCKET, 'drizzle/data.db', 'data.db')
})

0 comments on commit 10854cc

Please sign in to comment.