Commands: Backups
A backup is a copy of the server that you can put back later, after a raid for example.
On this page
A backup is a copy of the server that you can put back later, after a raid for example.
Server
+backup server my-backupcopies the roles, the channels and their permissions, the server settings and the members' roles.+backup load server my-backupcompares the backup with the server and only changes what differs. Before starting, the bot shows what it will do and lets you pick what to restore: roles, channels, members' roles, server settings.+backup list serverlists your backups,+backup show server my-backupshows what it holds,+backup delete server my-backupdeletes it.+autobackup server 7takes an automatic backup every 7 days, and keeps the last two.
Emojis
The same commands with emoji copy and restore the server's emojis. Loading only adds the missing ones: Discord limits their creation to about 50 per hour, and the server needs free slots.
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>: Creates a backup of the server or the emojis with a given name
server copies the roles, the channels and their permissions, the server settings and the members' roles; emoji copies the emojis. The name is then used to load, show or delete the backup.
Examples: +backup server before-redesign, +backup emoji my-emojis
+backup list
+backup list <serveur/emoji>: Shows all backups
Automatic backups are listed too, with their date.
Examples: +backup list server, +backup list emoji
+backup show
+backup show <serveur/emoji> <name>: Show the content of a backup
Shows the roles, channels and settings (or the emojis) saved, without changing anything.
Example: +backup show server before-redesign
+backup delete
+backup delete <serveur/emoji> <name>: Deletes a backup
The deletion is permanent.
Example: +backup delete server before-redesign
+backup load
+backup load <serveur/emoji> <name>: Loads a backup on a server
For a server, the bot compares the backup with the server and only changes what differs. Before starting, it shows what it will do with the estimated time, and lets you pick what to restore: roles, channels, members' roles, server settings.
For emojis, it only adds the missing ones: Discord limits their creation to about 50 per hour, and free slots are needed.
Examples: +backup load server before-redesign, +backup load emoji my-emojis
+autobackup
+autobackup <serveur/emoji> <off/days>: Sets the number of days between automatic backups
The bot keeps the last two automatic backups; they show in +backup list. 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