-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.env.example
More file actions
31 lines (24 loc) · 1.38 KB
/
Copy pathconfig.env.example
File metadata and controls
31 lines (24 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# git-drive-backup settings. Copy this file to config.env and edit it.
# config.env is in .gitignore, so your own paths never reach GitHub.
# The folder your cloud drive syncs. Any synced folder works: Google Drive,
# iCloud Drive, Dropbox, OneDrive, or a plugged-in external disk.
# Find the exact path in Finder: right-click the folder, hold Option, "Copy as Pathname".
CLOUD_DIR="$HOME/Library/CloudStorage/GoogleDrive-you@gmail.com/My Drive/GitHub Backup"
# Where the local working copies, logs and state live. Needs room for one mirror
# of every repo you own, so roughly the size of all your repos added together.
DATA_DIR="$HOME/.git-drive-backup"
# Which repos to back up. "owner" means every repo you own.
# Other choices: "owner,collaborator" or "owner,organization_member".
# owner = only the repos this account owns. Anything else, for example "all", also
# walks every organisation the account belongs to.
GH_AFFILIATION="owner"
# Stop and warn if the disk has less free space than this, in gigabytes.
MIN_FREE_GB=8
# The dashboard's port. Change it if something else already uses 3070.
DASH_PORT=3070
# Ports the restore test uses to serve a rebuilt site for you to click through.
# It takes the first free one in this range.
PREVIEW_PORT_FROM=3071
PREVIEW_PORT_TO=3080
# The name macOS uses for the scheduled jobs. Only change this before you install.
LABEL_PREFIX="com.gitdrivebackup"