06-04-2012
Thanks! Got it. What happened was... when I pasted the text in from TextEdit into the Nano editor, certain lines did indeed get jumbled. Just had to put them all back on the same line. Simple fix!
Thanks for the note on args, I'll be sure to change that.
7 More Discussions You Might Find Interesting
1. Solaris
I am trying to restore opt on my server.
my issue is, all the partitions are saved into the same back up tape.
what is the exact command to just restore /opt for example, supposing c0t0d0s7 is the partition for /opt
---------- Post updated at 01:16 PM ---------- Previous update was at... (7 Replies)
Discussion started by: feg
7 Replies
2. Shell Programming and Scripting
Hi All,
Thanks in Advance!!
How to backup a particular Databases..through Bash script!!
For example i have 6 databases;
Anish
linux
Software
Questions
Rhce
Google
these are the databases i have from that i want to take "Anish" and "questions" database backup regularly.... (4 Replies)
Discussion started by: anishkumarv
4 Replies
3. Shell Programming and Scripting
Hi, im trying to make a script that backups mysql databases but apparently I am having trouble with the variables, or simply something I am missing.
Would appreciate any help, here is the script
#!/usr/bin/perl -w
use strict;
require File::Spec;
#VARIABLES
my $databasename =... (4 Replies)
Discussion started by: Fireline
4 Replies
4. Shell Programming and Scripting
Hi all
i am struggling in creating a restore of env files while doing applications clone.
the first file i created for copying the important configurations file
which is running perfect
now for reverting the changes i mean when i am restoring these files to its original places
i have to do... (7 Replies)
Discussion started by: javeedkaleem
7 Replies
5. Shell Programming and Scripting
Hello
I have a production mysql server and archive server, unfortunitly its not possible to setup repliacation between the two, the reason is that the archive server is using some fancy storage engine which doesn't allow mysql replication.
I'm trying to write a script using perl that does... (1 Reply)
Discussion started by: amlife
1 Replies
6. Web Development
Hello all!
First posting here! So be patient with me.
I made a clean install with MacOS 10.8 and need to restore my Databases from my external backup drive. Apparently it is not possible, to create the MySQL user and password as before, and simply drag the databases from... (12 Replies)
Discussion started by: marek
12 Replies
7. UNIX and Linux Applications
Hi All,
The MySQL & OpenLDAP database on my Debian are very lightly updated.
Usually I tar everything on / including the databases.
The restore works OK on another machine.
I want to know whether its safe to do file level backup of databases like this ?
Do the MySQL & OpenLDAP databases... (0 Replies)
Discussion started by: coolatt
0 Replies
LEARN ABOUT DEBIAN
app::nopaste::service
App::Nopaste::Service(3pm) User Contributed Perl Documentation App::Nopaste::Service(3pm)
NAME
App::Nopaste::Service - base class for nopaste services
SYNOPSIS
package App::Nopaste::Service::Shadowcat;
use base 'App::Nopaste::Service';
sub uri { "http://paste.scsys.co.uk/" }
DESCRIPTION
"App::Nopaste::Service" defines a generic interface for uploading to nopaste sites. It provides a default interface to that of the POE
Pastebot.
METHODS
nopaste
This is the outermost method called by App::Nopaste and other clients. You should not override this method, as it will (XXX: eventually)
perform canonicalization of arguments (such as "lang") for you.
run args -> (OK, message)
This is the outermost method you should override. You'll be passed a hash of arguments. The only arguments you should pay attention to are:
text
The body of text to paste.
desc
A short (one-line) summary of the paste.
nick
The name of the person performing the paste.
chan
The IRC channel to which the paste belongs.
lang
The programming language of the body of text.
private
If false, the paste will be public (default).
get mech, args
This should "get" the form to paste using the provided WWW::Mechanize object. By default it does just that. See "uri" below.
uri
If you only need to call "mech->get(uri)" then you may define this method to provide the URI of the nopaste service.
fill_form mech, args
This should have the WWW::Mechanize fill in the form using the arguments, and submit it.
return mech, args
This should look at "WWW::Mechanize->content" to find the URI to the pasted text.
AUTHOR
Shawn M Moore, "<sartak at gmail.com>"
perl v5.14.2 2011-08-22 App::Nopaste::Service(3pm)