Current time: 05-24-2024, 08:06 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Solucionado]Problema Backups(htdocs)
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #12
RE: Problema Backups(htdocs)
Quote:ERROR: Missing Input Data! Please provide appropriate command line parameter(s)!

Es decir, cuanto te dije que ejecutaras ese script no te dije que necessitaba ningún parametro porque la verdad es que no lo sabía. Para saber de qué parámetros faltan, simplemente abrimos el fichero con cualquier editor y buscamos el texto del error, con lo cual aparece lo siguiente:
Code:
my $proceed = $ARGV[0];
if (!defined($proceed) || $proceed eq '') {
        push_el(\@main::el, 'main()', "ERROR: Missing Input Data! Please provide appropriate command line parameter(s)!");
        err_exit();
}

if ($proceed ne 'yes') {
        push_el(\@main::el, 'main()', "NOTE: If you want full backup of your domain data, please run this script with 'yes' command line parameter!");
        err_exit();
}

No hace falta ser un lumbreras en programación para ver que el script lleva una "protección" (no me preguntes por qué) para evitar que lo ejecutes accidentalmente. Para que realmente funcione debes ejecutar:
Code:
/var/www/ispcp/engine/backup/ispcp-backup-all yes
(This post was last modified: 02-05-2010 09:32 PM by kilburn.)
02-05-2010 09:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Problema Backups(htdocs) - kurgans - 02-02-2010, 06:18 PM
RE: Problema Backups(htdocs) - kurgans - 02-03-2010, 04:56 AM
RE: Problema Backups(htdocs) - kilburn - 02-04-2010, 01:10 AM
RE: Problema Backups(htdocs) - kilburn - 02-04-2010, 07:41 AM
RE: Problema Backups(htdocs) - kilburn - 02-05-2010 09:31 PM
RE: Problema Backups(htdocs) - kilburn - 02-06-2010, 11:57 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)