Commands: Backups
A backup is a copy of the server, saved on the bot, that you can put back later, after a raid for example.
A backup is a copy of the server, saved on the bot, that you can put back later, after a raid for example.
It carries the server's structure: its roles, its channels, the members' roles, its Discord settings and its emojis.
Making a backup
+backupopens the export panel with the structure ticked, and saves the file on the bot under the name you choose;+backup emojithe emojis only.+exportdoes the same, with all its choices.+autobackup server 7saves one automatically every 7 days, and keeps the last two.
Putting it back
+backup load, or+importwithout a file, lists the files saved on the bot. Choose the backup: the bot shows what it will create, change and delete, and you choose what it rebuilds, before anything changes.- On another server, nothing is rebuilt until you choose it: a way to recreate a lost server on a new one.
Tools
+sync aligns the channel's permissions with its category's (+sync all for every channel), +clear duplicate invite deletes duplicate invites (same creator, same channel).
The step-by-step guide
Backing up and restoring the server walks you through it.
+backup
+backup [serveur/emoji] [name]: Exports the server's structure or its emojis and saves it on the bot
The bot opens the export panel with the server's structure ticked: its roles, its channels, who holds which role, its Discord settings and all its emojis; with emoji, only its emojis. The file also carries the server's settings, and each line's button adds or removes what you want, as with +export.
Its button asks for a name, by default the server's and the date (followed by a number when a saved file already has that name), then saves the file on the bot and sends it to you too. +backup load, or +import without a file, puts it back.
Examples: +backup, +backup server before-redesign, +backup emoji my-emojis
+backup load
+backup load: Lists the files saved on the bot, backups included, to import one
The bot opens the list of the files saved on the bot that you can import here, as +import without a file does: the backups, automatic ones included, and the other saved exports. Choose one to see what it holds, then import or delete it.
Example: +backup load
+autobackup
+autobackup <serveur/emoji> <off/days>: Sets the number of days between automatic backups
The number of days goes from 1 to 365. Each automatic backup is saved on the bot with the server's structure, without its settings (or its emojis only), and shows in +backup load's list. The bot keeps the last two of each kind for this server. When the bot already keeps 25 files and none of this server's automatic backups can be replaced, it isn't made. off stops them; the backups already made stay.
Examples: +autobackup server 7, +autobackup emoji 30, +autobackup server off
+clear duplicate invite
+clear duplicate invite: Deletes duplicate invites (same creator, same channel), keeping one of each
For each creator and each channel, a single invite is kept, a permanent one if possible.
+sync
+sync [all/channel/category]: Synchronises all permissions from channels with their categories,allsynchronises all channels on the server
With nothing, the command syncs the channel you're in; with all, every channel of the server; with a category, all its channels.
Examples: +sync, +sync all, +sync #general
The levels and names shown are the original ones: your server may have changed them (permissions, +alias). Every Gestion V2 command