1

I have used this firestore-backup-restore for firestore backup. It is working fine. But could you tell me how can I use schedule it using cron jobs or like so? I don't have any previous experience with cron job though. Any guidance would be really appreciated.

This is what I did using above api. This is working fine. But how to schedule it?

firestore-backup-restore --accountCredentials D:\Backups\Firestore/budget-my-reno-firebase-adminsdk-lh8d5-5bfad6f090.json --backupPath /backups/myDatabase

Sampath
  • 63,341
  • 64
  • 307
  • 441

1 Answers1

2

If you are using any Linux distro you can use CRON and learn how to config it for your needs. I could recommend you this guide or refer you to the cron man.

If you are on Windows, you could go for any of the cron-like tools of windows. In this answer you have some examples.

AntonioGarcía
  • 1,140
  • 2
  • 15
  • 25