Hello!
It is a daily backup script for Google Drive of NodeBB-based forums.
The script stops MongoDB and NodeBB before starting the backup, performs a backup, and runs back.
The setting in the script is a daily backup at 12 in the morning and at noon, and automatic deletion of their backups older than 3 days, but you are free to change the hours in the main.py file.
How to use a script:
To log in to your Google drive API account, retrieve the credentials.json file as guided here:
https://github.com/thewh1teagle/googled and place it in the script folder.
Then, enter the MongoDB access information in utils.py file
Good luck and good day!
-
Notifications
You must be signed in to change notification settings - Fork 1
ElhananFine/NodeBB-Dump
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A project to back up nodeBB/MongoDB-based forums for Google Drive.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published