Skip to content

About

ignore file/folder ( easy way ) while making backup on pterodactyl panel

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation


Replaces the "Ignored Files & Directories" text box in the backup window with a list of your actual files/folder on root.

Before After
Type gitignore patterns and hope Untick what you don't want

Install

Caution

CreateBackupButton.tsx overwrites a stock panel file. Back up your copy first if you have edited it. Using a custom theme? Do not overwrite it — follow TUTORIAL.md to apply the four edits by hand instead.

Upload both files from panel/ into your panel, same paths:

resources/scripts/components/server/backups/BackupFilePicker.tsx     (new)
resources/scripts/components/server/backups/CreateBackupButton.tsx   (overwrites stock)

Then rebuild:

cd /var/www/pterodactyl
yarn install && yarn build:production
chown -R www-data:www-data /var/www/pterodactyl/*

Important

Hard refresh (Ctrl+Shift+R) after the build, otherwise your browser keeps serving the old assets.

Support

Tip

Need help? Ask in Discord.

About

ignore file/folder ( easy way ) while making backup on pterodactyl panel

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages