golden hour
/home/doctorbruno/public_html/pgmed.org/wp-content/plugins/backupbuddy/controllers/ajax
⬆️ Go Up
Upload
File/Folder
Size
Actions
_destination_picker.php
24.64 KB
Del
OK
backup_status.php
586 B
Del
OK
db_check.php
853 B
Del
OK
db_repair.php
765 B
Del
OK
deploy.php
1.64 KB
Del
OK
deploy_confirm.php
2.69 KB
Del
OK
deploy_status.php
1.72 KB
Del
OK
deployment_regenerateKey.php
705 B
Del
OK
destinationTabs.php
15 KB
Del
OK
destination_ftp_pathpicker.php
4.74 KB
Del
OK
destination_picker.php
306 B
Del
OK
disalert.php
298 B
Del
OK
download_archive.php
2.96 KB
Del
OK
email_error_test.php
485 B
Del
OK
exclude_tree.php
2.67 KB
Del
OK
file_tree.php
7.35 KB
Del
OK
forceSpawnCron.php
421 B
Del
OK
gdrive_folder_create.php
1.96 KB
Del
OK
gdrive_folder_select.php
2.39 KB
Del
OK
getMainLog.php
360 B
Del
OK
hash.php
951 B
Del
OK
icicle.php
386 B
Del
OK
importbuddy.php
609 B
Del
OK
importexport_settings.php
3.84 KB
Del
OK
index.php
28 B
Del
OK
integrity_status.php
8.82 KB
Del
OK
live_last_snapshot_details.php
6.34 KB
Del
OK
live_settings.php
3.77 KB
Del
OK
live_setup.php
4.65 KB
Del
OK
live_snapshot_status.php
1.32 KB
Del
OK
live_stash_files.php
1.03 KB
Del
OK
live_stats.php
2.56 KB
Del
OK
live_troubleshooting_download.php
754 B
Del
OK
migrate_status.php
4.69 KB
Del
OK
migration_picker.php
343 B
Del
OK
php_max_runtime_test.php
1.27 KB
Del
OK
pinfo.php
171 B
Del
OK
profile_settings.php
327 B
Del
OK
quickstart.php
246 B
Del
OK
quickstart_form.php
6.97 KB
Del
OK
refresh_database_size.php
415 B
Del
OK
refresh_database_size_excluded.php
461 B
Del
OK
refresh_site_objects.php
384 B
Del
OK
refresh_site_objects_excluded.php
448 B
Del
OK
refresh_site_size.php
382 B
Del
OK
refresh_site_size_excluded.php
428 B
Del
OK
refresh_zip_methods.php
1.36 KB
Del
OK
remoteClient.php
867 B
Del
OK
remote_delete.php
635 B
Del
OK
remote_save.php
2.36 KB
Del
OK
remote_send.php
3.15 KB
Del
OK
remote_test.php
978 B
Del
OK
remotesend_abort.php
1.11 KB
Del
OK
remotesend_details.php
1.69 KB
Del
OK
remotesend_retry.php
2.59 KB
Del
OK
restore_file_restore.php
3.71 KB
Del
OK
restore_file_view.php
2.61 KB
Del
OK
rollback.php
1.86 KB
Del
OK
run_php_memory_test.php
856 B
Del
OK
run_php_memory_test_results.php
647 B
Del
OK
run_php_runtime_test.php
859 B
Del
OK
run_php_runtime_test_results.php
657 B
Del
OK
send_status.php
4.32 KB
Del
OK
set_backup_note.php
1.74 KB
Del
OK
site_size_listing.php
7.72 KB
Del
OK
stop_backup.php
208 B
Del
OK
testErrorLog.php
371 B
Del
OK
view_log.php
1.44 KB
Del
OK
Edit: live_settings.php
<?php backupbuddy_core::verifyAjaxAccess(); pb_backupbuddy::$ui->ajax_header( $js = true, $padding = true ); require_once( pb_backupbuddy::plugin_path() . '/destinations/bootstrap.php' ); require_once( pb_backupbuddy::plugin_path() . '/destinations/live/live.php' ); require_once( pb_backupbuddy::plugin_path() . '/destinations/live/live_periodic.php' ); $destination_id = backupbuddy_live::getLiveID(); $destination_settings = backupbuddy_live_periodic::get_destination_settings(); echo '<h2>' . __( 'BackupBuddy Stash Live Settings', 'it-l10n-backupbuddy' ) . '</h2>'; // Settings form setup. $settings_form = pb_backupbuddy_destinations::configure( $destination_settings, $mode = 'edit', $destination_id, $url = pb_backupbuddy::ajax_url( 'live_settings' ) ); // Process saving. if ( '' != pb_backupbuddy::_POST( 'pb_backupbuddy_' ) ) { pb_backupbuddy::verify_nonce(); $save_result = $settings_form->process(); if ( count( $save_result['errors'] ) == 0 ) { // NO ERRORS SO SAVE. pb_backupbuddy::$options['remote_destinations'][$destination_id] = array_merge( pb_backupbuddy::$options['remote_destinations'][$destination_id], $save_result['data'] ); pb_backupbuddy::save(); pb_backupbuddy::alert( __( 'Settings saved. Restarting Live process so they take immediate effect. If you disabled file managementrefresh the page to see the effect.', 'it-l10n-backupbuddy' ) ); set_transient( 'backupbuddy_live_jump', array( 'daily_init', array() ), 60*60*48 ); // Tells Live process to restart from the beginning (if mid-process) so new settigns apply. // Add final entry to log if disabled if ( $destination_settings['disable_logging'] == 0 && $save_result['data']['disable_logging'] == 1 ) { $previous_status_serial = pb_backupbuddy::get_status_serial(); // Hold current serial. pb_backupbuddy::set_status_serial( 'live_periodic' ); // Redirect logging output to a certain log file. pb_backupbuddy::status( 'details', '-----' ); pb_backupbuddy::status( 'details', 'Logging disabled in Stash Live --> Settings --> Advanced.' ); pb_backupbuddy::status( 'details', '-----' ); pb_backupbuddy::set_status_serial( $previous_status_serial ); } // Send new settings for archive limiting to Stash API. backupbuddy_live::send_trim_settings(); } else { pb_backupbuddy::alert( 'Error saving settings. ' . implode( "\n", $save_result['errors'] ) ); } } // Show settings form. echo $settings_form->display_settings( 'Save Settings', $before = '', $afterText = ' <img class="pb_backupbuddy_destpicker_saveload" src="' . pb_backupbuddy::plugin_url() . '/images/loading.gif" title="Saving... This may take a few seconds..." style="display: none;">', 'pb_backupbuddy_destpicker_save' ); // title, before, after, class if ( 'live' == $destination_settings['type'] ) { if ( is_multisite() ) { $admin_url = network_admin_url( 'admin.php' ); } else { $admin_url = admin_url( 'admin.php' ); } ?> <a href="<?php echo pb_backupbuddy::nonce_url( $admin_url . '?page=pb_backupbuddy_live&live_action=disconnect' ); ?>" target="_top" style="float:right;margin-top:-3em;color:#f95050;"><?php _e( 'Disconnect from Stash Live', 'it-l10n-backupbuddy' ); ?></a> <br><br><br><br><br><br><br><br><br> <a href="<?php echo pb_backupbuddy::nonce_url( $admin_url . '?page=pb_backupbuddy_live&live_action=disconnect_delete_only' ); ?>" onClick="if ( false === confirm( '<?php _e( 'Are you sure you want to remote the Stash Live destination WITHOUT disconnecting this site from Stash Live? WARNING: Use only if directed by support.', 'it-l10n-backupbuddy' ); ?>' ) ) { return false; }" target="_top" style="float:right;margin-top:-3em;color:#DFDFDF;"><?php _e( 'Remove Stash Live destination without disconnecting (use only if directed)', 'it-l10n-backupbuddy' ); ?></a> <?php } pb_backupbuddy::$ui->ajax_footer( $js_common = true );
Save