###############################################################################
# Backup.lng #
###############################################################################
# YaBB: Yet another Bulletin Board #
# Open-Source Community Software for Webmasters #
# Version: YaBBForum 3.0 #
# Packaged: July 26, 2026 #
# Distributed by: https://yabbforum.nz #
# =========================================================================== #
# Copyright (c) 2000-2026 YaBB (yabbforum.nz) - All Rights Reserved. #
# Software by: The YaBB Development Team #
# with assistance from the YaBB community. #
###############################################################################
$backuplngver = 'YaBBForum 3.0';
$script_root = $ENV{'SCRIPT_FILENAME'};
if( ! $script_root ) {
$script_root = $ENV{'PATH_TRANSLATED'};
}
($support_env_path = $script_root) =~ s~/\w+\.pl~~;
%backup_txt = (
'1' => 'YaBB Backup',
'2' => 'You have not saved your backup settings yet. You must choose and save your settings before you can backup your forum.',
'3' => 'Choose which directories to backup. Note: the backup routines use the directory paths from Forum Configuration -> Path Settings; make sure these are correct.',
'4' => 'Directories to Backup',
'5' => 'Check/Uncheck All',
'6' => 'If you select every directory, you will have a complete copy of your forum. This is the recommended setting for most forums.
However, for very large forums, a full backup may cause recovery problems (e.g. timeouts). For such large forums, it may be better to create one backup of only the "static" framework directories (which change very little) and separate backups for each of the Boards, Members and Messages directories.',
'path1' => 'Path to Tar and Zip:',
'path2' => 'Path to gzip and bzip2 (also sets path to gzip in Advanced Settings):',
'path3' => 'Fill in the paths only if YaBB cannot automatically find Tar, Zip, gzip, and bzip2. Otherwise, leave the above spaces blank.',
# Begin description of directories
# We don't translate directory names like Boards/.
'7' => '-- (contains category and board information and indexes)',
'8' => '-- (contains all threads/topics and included posts)',
'9' => '-- (contains member profiles, member logs, and personal messages)',
'10' => 'and stylesheets', # This one comes right after "Templates/ "
'10a' => '-- (contains all template files and images)',
'11' => '-- (contains all localized text and support files used by YaBB)',
'12' => '-- (contains the forum settings, preferences, and logs)',
'and' => 'and', # Odd name, yes, but could be useful in more than one place
'13' => 'plus all other source code -- (contains the complete YaBB source code)',
'14' => '-- (contains the images and stylesheets for all templates, but excludes the Attachments and Avatars user-upload directories [see next line])',
'14a' => '-- (contains user-uploaded files: attachments and avatars)',
# Begin the backup method selection
'15' => 'Backup and Compression Methods',
# Don't translate command names (such as /bin/tar) or 'tar'.
'16' => q~Backup: Tar (with compression) or Zip, using the standalone UNIX utilities, are the recommended choices. Archive::Tar (with compression) or Archive::Zip should be used only if Tar/Zip are unavailable, as the Perl modules are slower than the standalone utilities.
Compression: If you use Tar, compression is strongly recommended to keep archive sizes small. (Zip is already compressed.) Bzip2 makes smaller archives than Gzip or Zip, but takes longer; this may be an issue for slow servers with large forums.
Note: Some servers do not support large backup files. If you see an error message like "Internal server error" or even a blank page, try a different backup and/or compression method. If that still fails, try creating multiple smaller backups by separately backing up fewer directories (checked above).
Note:: Tar may not save files in the 'root' of the yabb2 or yabbfiles folders. In that event, if you need to archive all files or need an archive/backup in preparation for moving your forum, use Zip or Archive::Tar instead.~,
'17' => 'No Tar compression',
'18' => '(for Tar compression)',
'19' => 'Archive Destination Directory (to hold backup files)',
'19a' => "Use the full path (e.g. $support_env_path/Backups), not a relative path (e.g. ./Backups)",
'19b' => 'Backup Reminder',
'19c' => 'Show an alert if no backup has been performed in',
'19d' => 'days. Enter zero or leave blank to disable reminder.',
'20' => 'Save Settings',
# Begin run backup area
'21' => 'Run Backup',
'22' => 'Click the button below to run a backup. Backups are stored in the Archive Destination Directory (',
'23' => '), set above.',
'24' => 'During backup, your forum will automatically be put into Maintenance Mode.
Note: For backups of very large forums, it may take a while until the page refreshes - be prepared to wait at least 5 minutes. If you experience a timeout or nothing happens after 5 minutes, consider the NOTE above in 'Backup Method' regarding large backup files.
After running at least one regular backup, you may select whether subsequent backups are full (all files in the directories checked above) or incremental (only those files which have changed since the last backup). If you change (and save) any of the settings above, the next backup must be a full backup. For incremental backups, the time interval for determining changed files is measured in seconds for Tar, Archive::Tar and Archive::Zip but in days for Zip.',
'25' => 'Run Full Backup - all files in selected directories',
'25a' => 'Run Incremental Backup - only files changed/created since',
# Not used
# '26' => '', Not used
# Text used for the actual backup output
'27' => 'Backed up',
# Text used in the support subroutines
'28' => 'Couldn't load the module',
'29' => 'Unable to test backup method',
'30' => 'Unable to find compression method',
'31' => 'can't be used',
'32' => 'Error code:',
# Text used for timing the backup
'33' => 'The backup took ',
'34' => 'seconds',
# Begin manage backups area
'35' => 'Manage Backups',
'36' => 'Backups available in',
'37' => 'For each available backup, you can: