Documentation Home
MySQL Enterprise Backup 8.0 User's Guide
Related Documentation Download this Manual
PDF (US Ltr) - 1.4Mb
PDF (A4) - 1.4Mb


4.1.3 Designate a Location for the Backup Directory

Mostmysqlbackup operations, including those on single-file backups, write data or metadata to a designated directory referred to as thebackup directory in this manual. See the description for--backup-dir for details on its usage for different operations.

Choose in advance for this directory a location on a file system with sufficient storage; it could even be remotely mounted from a different server. You specify the path to this directory with the--backup-dir option for manymysqlbackup commands.

If you use the backup directory as a location to store your backups, it is preferable to keep each backup within a timestamped subdirectory underneath the main backup directory. To makemysqlbackup create these subdirectories automatically, specify the--with-timestamp option each time you runmysqlbackup.