How to automate the /content backup daily

HI Jorg,
We are planning to take the /content backup daily from QA servers. Manualy we are doing by entering into package manger ---> create package---> provideing the path as "/content"
Building the package and moving to backup location daily.
Can you please help me out with CURL or WGET command to implement this as a scheduled job to run on cron.
Thanks in advance.

HI Yogesh,
I found from mentioned URL as
To create a package, use the following command in your terminal:
curl -u <uid>:<pwd> -X POST http://localhost:7402/crx/packmgr/service/.json/etc/packages/mycontent.zip?cmd=create -d packageName=<name> -d groupName=<name>
But here in my case i need the current content from /content location and save in some other location. Just a content backup. Where we need to add this path in script.

Similar Messages

  • I am using 10.9.1 on a 21.5" iMac. I am backing up using Time Machine. The hourly backups are over kill. How do get TM to backup daily?

    I am using 10.9.1 on a 21.5" iMac. I am backing up using Time Machine. The hourly backups are over kill. How do get TM to backup daily, only?

    See Pondini's TM FAQs, for details.

  • How to automate the data flow to content servers?

    We have ECC connected to CS. Could you help tell how to automate the data flow into the CS? Thanks a lot!

    What do you use the Content Server for? If its for archiving you need to run the STORE job to send the data to the CS.
    I can't see a reason to automate that process
    Regards
    Juan

  • How to schedule the background job daily twice?

    Hi,
    How to schedule the background job daily twice? any conditions?
    Regards,
    Srihitha

    see the step by step procedure.
    Scheduling Background Jobs:
    1. Background jobs are scheduled by Basis administrators using transaction SM36.
    2. To run a report in a background, a job needs to be created with a step using the report name
    and a variant for selection parameters. It is recommended to create a separate variant for each
    scheduled job to produce results for specific dates (e.g. previous month) or organizational units (e.g.
    company codes).
    3. While defining the step, the spool parameters needs to be specified
    (Step-> Print Specifications->Properties) to secure the output of the report and help authorized users
    to find the spool request. The following parameters needs to be maintained:
    a. Time of printing: set to “Send to SAP spooler Only for now”
    b. Name – abbreviated name to identify the job output
    c. Title – free form description for the report output
    d. Authorization – a value defined by Security in user profiles to allow those users to access
    this spool request (authorization object S_SPO_ACT, value SPOAUTH). Only users with matching
    authorization value in their profiles will be able to see the output.
    e. Department – set to appropriate department/functional area name. This field can be used in
    a search later.
    f. Retention period – set to “Do not delete” if the report output needs to be retained for more
    than 8 days. Once the archiving/document repository solution is in place the spool requests could
    be automatically moved to the archive/repository. Storage Mode parameter on the same screen
    could be used to immediately send the output to archive instead of creating a spool request.
    Configuring user access:
    1. To access a report output created by a background job, a user must have at
    least access to SP01 (Spool requests) transaction without restriction on the user
    name (however by itself it will not let the user to see all spool requests). To have
    that access the user must have S_ADMI_FCD authorization object in the profile with
    SPOR (or SP01) value of S_ADMI_FCD parameter (maintained by Security).
    2. To access a particular job’s output in the spool, the user must have
    S_SPO_ACT object in the profile with SPOAUTH parameter matching the value used
    in the Print Specifications of the job (see p. 3.d above).
    3. Levels of access to the spool (display, print once, reprint, download, etc) are
    controlled by SPOACTION parameter of S_SPO_ACT. The user must have at least
    BASE access (display).
    On-line reports:
    1. Exactly the same configuration can be maintained for any output produced
    from R/3. If a user clicks “Parameters” button on a SAP Printer selection dialog, it
    allows to specify all the parameters as described in p. 3 of
    “Scheduling background jobs” section. Thus any output created by an online report
    can be saved and accessed by any user authorized to access that spool request
    (access restriction provided by the Authorization field of the spool request
    attributes, see p. 3.d of “Scheduling background jobs” section).
    Access to report’s output:
    1. A user that had proper access (see Configuring user access above) can
    retrieve a job/report output through transaction SP01.
    2. The selection screen can be configured by clicking “Further selection
    criteria…” button (e.g. to bring “Spool request name (suffix 2)” field or hide other
    fields).
    3. The following fields can be used to search for a specific output (Note that
    Created By must be blank when searching for scheduled job’s outputs)
    a. Spool request name (suffix 2) – corresponds to a spool name in p. 3.b in
    “Scheduling background jobs” section above).
    b. Date created – to find an output of a job that ran within a certain date range.
    c. Title – corresponds to spool Title in p. 3.c in “Scheduling background jobs”
    section above).
    d. Department - corresponds to spool Department in p. 3.e in “Scheduling
    background jobs” section above).
    4. Upon entering selection criteria, the user clicks the Execute button to
    retrieve the list of matching spool requests.
    5. From the spool list the user can use several function such as view the
    content of a spool request, print the spool request, view attributed of the spool
    request, etc. (some functions may need special authorization, see p.3 in
    Configuring user access)
    a. Click the Print button to print the spool request with the default attributes
    (usually defined with the job definition). It will print it on a printer that was
    specified when a job was created.
    b. Click the “Print with changed attributed” button to print the spool request
    with the different attributes (e.g. changing the printer name).
    c. Click the “Display contents” button to preview the spool request contents. A
    Print and Download functions are available from the preview mode.

  • Can't back up my Iphone5 to my macbook pro, it tells me it may be corrupted, also I don't know how to delete the old backup to redo it

    Can't back up my Iphone5 to my macbook pro, it tells me it may be corrupted, also I don't know how to delete the old backup to redo it

    Hi Caveman337,
    Welcome to the Support Communities!  The resource below will explain how to delete an old iTunes backup.  Before you do this, I would suggest creating an iCloud backup of your iPhone. 
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
    http://support.apple.com/en-us/HT203977
    Back up using iCloud
    If you're using iCloud, it can automatically back up your content. Use these steps to turn on iCloud Backup:
    Tap Settings > iCloud > Backup. If you're using iOS 7 or earlier, tap Settings > iCloud > Storage & Backup.
    Tap iCloud Backup to turn it on.
    Tap Back Up Now.
    After you turn on iCloud Backup, iCloud will back up your content automatically. You can return to this screen to see when the last back up happened.
    Create and delete iPhone, iPad, and iPod touch backups in iTunes - Apple Support
    http://support.apple.com/en-us/ht4946
    Where your backups are stored
    The folder where your backup data is stored depends on your computer's operating system. Make sure the backup folder is included in your data-backup routine. iTunes places the backup files in these places:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    The "~" represents your Home folder. If you don't see Library in your Home folder, hold Option and click the Go menu.
    Delete a backup
    If you want to delete a backup created by iTunes:
    Open iTunes Preferences:
    Mac: Choose iTunes > Preferences.
    Windows: Choose Edit > Preferences. Learn how to turn on menus in Windows 7 and 8.
    Click Devices. (The iOS device doesn't need to be connected.)
    iTunes will show the phone number, International Mobile Equipment Identity (IMEI) number, and serial number of the backed up iPhone when you position your mouse pointer over a backup. (Only the serial number will be shown for iPad and iPod touch). You can use this to find the backup you want to delete.
    Select the backup you want to remove.
    Click Delete Backup.
    When prompted, confirm that you want to remove the selected backup by clicking Delete Backup.
    Click OK to close the iTunes Preferences Window.
    Backups that have a date and time stamp in the backup name are copies of backups created by restoring the iOS device. The date and time in the left column are when the restore-from-backup occurred. The date and time in the right column are the last synced date; this shows how current the data is.
    I hope this information helps ....
    - Judy

  • How to automate older contents to next page

    I have a webpage that shares files and is updated daily. I
    would like to know how to automate the bottom/older contents to
    into the next page. If any1 could show me how to do it, thank
    you.

    Hi
    Did u try inserting a Main Frame inside C1 and setting it upto Brake into next page by using the print on property.
    Nilaksha.

  • How to read the contents of attached files

    Hi,
    I am designing a Form using LiveCycle Designer 8.0
    Scenario:
    User can attach the file through "Attachments" facility provided on Adobe  Reader.
    The requirement is to attach 3 documents and post it to SAP system using Web services.
    I am using the following code(which i got from this forum only) to find the number of files user has attached.
    d = event.target.dataObjects;
    n =  d.length;
    xfa.host.messageBox("Number  of Attachments: "+n);
    //Displaying  the names of the Attached files
    for( i =  0; i < n; i++ )
    xfa.host.messageBox("Name  of the file: "+d[i].name);
    My problem: is how to read the contents of the attached files so that I post it to SAP using Web services
    Thanks in advance!!
    Taha Ahmed

    In order to read the content of the Redo Log files, you should use Logminer Utility
    Please refer to the documentation for more information:
    [Using LogMiner to Analyze Redo Log Files|http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/logminer.htm#SUTIL019]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • I am thinking of buying a MacBook Air and am wondering how to get the content of my iPad into iTunes.

    I have iTunes on an old pc and am thinking of buying a MacBook Air. I am wondering how to get the content of my iPad on to the Mac as I know that sync only happens in one direction, from pc to device. I assume therefore that when I attach my pad to the new Mac it will sync to an empty iTunes and I will have lost all the content of my pad. I know I can restore purchases, but what about contacts, calendar, photos and music not purchased from apple. I have a fairly recent backup on a pen drive but it is a usb2 device and is formatted for a pc. Any advice would be appreciated.

    Do I copy my media library or from a backup.  I have a backup on my pc and on an external drive. This drive is usb2 and formatted for windows so I can't connect it to a MacBook Air to make the transfer.  Equally I don't think there is a way to connect the 2 computers via a cable ie usb2 one end and usb3 the other.  Will the computers talk to each other via wifi if I enable home share although I think this is only for music which still leaves contacts, mail etc.
    I am sorry to be such an ignoramus but any further help would be appreciated.

  • How to clear the contents of table control

    Hi All,
              How to clear the contents that are present in a Table control. If there is any code Please Let me know.
    I will assign full marks to the correct code.
    Pradeep Kumar Kota.

    Hi
    U need to clear the contenents of internal table used to store the record displayed by table control.
    Every time the PBO is triggered the table control is automatically cleared, so you need only not to transfer any data from internal table to table control.
    So you should show how your PBO if you want a right answer.
    Max

  • How to set the Rman backup parameter.

    Hi,
    Can U guide me how to set the Rman backup path,control file auto backup & others parameter.

    Hi,
    Go through this,
    Show all configurable settings:
    RMAN>SHOW ALL;
    Write disk backups to the /rmanback directory: (%U will be replaced with unique filenames)
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/%U';
    Backup using a flash recovery area rather than disk
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;
    Configure RMAN to back up the control file after each backup
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    By default, RMAN automatically names control file backups and stores them in the flashrecovery area.
    To configure RMAN to write control file backups to the /backup directory:( %F will generate a unique filename)
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/controlfile%F';
    Ensure that RMAN retains all backups needed to recover the database to any point in time in the last 7 days:
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    Retain three backups of each datafile:
    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    Delete backups no longer required by the retention policy:
    RMAN> DELETE OBSOLETE;
    To override the configured retention policy for individual backups - use BACKUP.. KEEP (or CHANGE.. KEEP)
    Configure backups to run in parallel by assigning two sbt channels:
    RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 2;
    Reset any CONFIGURE setting to its default by running the command with the CLEAR option
    RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt CLEAR;
    RMAN> CONFIGURE RETENTION POLICY CLEAR;
    Regards,
    oraclekt
    Edited by: oraclekt on Sep 1, 2010 9:58 PM

  • How to read the content in one node of XML in Java? Pls help

    My dear brothers,
    I am a newbie of XML, I have a exercise which is creating a Tree View from XML file. But the trouble is I do not know how to read the content in one node of XML file. I decide to use the algorithm as following:
    1. Create a GUI form which gives the ability for user to choose a XML file (ok)
    2. Load XML and return the file (ok)
    3. Read the file from node to node to create the node in Tree View (?!)
    Please help me, and if you are enough kind, please give me an small example to easy understand. Thanks in advance.
    Hoang Yen Binh

    I hope this one helps you.
         <ABC Type="ProductBased" ProdName="One" Location="India">
              <CEO>Raj</CEO>
              <Finance>Vikram</Finance>
              <HR>Karthik</HR>
              <Technical>Satish</Technical>
         </ABC>
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Attr;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Node;
    import org.w3c.dom.DOMException;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import java.io.File;
    import java.io.IOException;
    public class XmlReading {
         Document doc;
         Element element;
         public static void main(String[] args) throws Exception{
              XmlReading xr = new XmlReading();
              xr.getXmlParser(args);
         public void getXmlParser(String[] args) {
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   if(args.length != 1) {
                        System.err.println("Argument Required");
              try {
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   doc = builder.parse(new File(args[0]));
              }catch(ParserConfigurationException e1) {
              }catch(SAXException e2) {
              }catch(IOException e3) {
              getAttributes();
         public void getAttributes() {
              // Retrive the entire Document from the Dom Tree
              element = doc.getDocumentElement();
    //          System.out.println(element);
              NamedNodeMap attrs = element.getAttributes();
              // Get number of attributes in the element
         int numAttrs = attrs.getLength();
         // Process each attribute
              for (int i=0; i<numAttrs; i++) {
                   Node node = attrs.item(i);
                   // Get attribute name and value
                   String attrName = node.getNodeName();
                   String attrValue = node.getNodeValue();
                   System.out.println(attrName + ": " + attrValue);
              String s1 = element.getTagName();
              System.out.println(s1);
              // To get all the elements in a DOM Tree
              NodeList nl1 = element.getElementsByTagName("*");
              int i2 = nl1.getLength();
              System.out.println(i2);
              for(int i=0; i<i2; i++) {
                   System.out.println(nl1.item(i) + "\n");
    }

  • OB52 Posting Period Close:  Does anyone know how to automate the close?

    Does anyone know how to automate the FI Period Close (trans code OB52)?  Currently, the business users go into the screen and open and close any periods manually.  For the MM period close, we are able to do so because we found the program to use in the batch job.  For some reason, the FI side shows the program SAPL0F00 but this is only a view and will not allow a batch job to be created.  Does anyone know of the actual program used for the FI period close?

    Use program RFPERIOD_OPEN.  It may help.  For further details you may check the following thread.
    RFPERIOD_OPEN

  • Help me...How to read the content if "Transfer-Encoding:chunked" is used?

    I am doing a project for internet control using Java,PHP and MySql.All sites should go through the proxy server only.If the HTTP header contains Content-Length,am getting the content length as below:
    public class HTTPResponseReader extends HTTPMessageReader
        String statusCode;
        public HTTPResponseReader(InputStream istream) throws IOException,                     NoSuchElementException
      BufferedInputStream distream = new BufferedInputStream(istream);
      retrieveHeader(distream);
      StringTokenizer st =  new StringTokenizer(new String(HTTPMessageReader.toArray(header)));
      versionProtocol = st.nextToken();
      statusCode = st.nextToken();
      String s;
      while (st.hasMoreTokens())
            s = st.nextToken();
            if (s.equals("Transfer-Encoding:"))
           transferEncoding = new String(st.nextToken());
         if (s.equals("Content-Length:"))
           contentLength = Integer.parseInt(st.nextToken());
         if (s.equals("Connection:"))
          connection = new String(st.nextToken());
          if (connection.equals("keep-alive")) mustCloseConnection = false;
       retrieveBody(distream);     
    }After getting the Content-Length,i used read method to read the content upto that content length.Then i concatenated the HTTP header and body and the requested site was opened.But some sites dont have Content-Length.Instead of that,Transfer-Encoding is used.I got the HTTP Response header as "Transfer-Encoding:chunked" for some sites.If this encoding is used how to get the length of the message body and how to read the content.
    Can anybody help me.
    Thanks in advance...
    Message was edited by:
    VeeraLakshmi

    Why don't you use HttpUrlConnection class to retrieve data from HTTP server? This class already supports chunked encoding...
    If you want to do anything by yourself then you need to read HTTP RFC and find all required information. Well in two words you may reject advanced encoding by specifying HTTP 1.0 in your request or download chunked answer manually. Read RFC anyway :)

  • How to read the content of a text file (by character)?

    Guys,
    Good day!
    I'm back just need again your help. Is there anyone knows how to read the content of a text file not by line but by character.
    Please help me. Thank you so much in advance.
    Jojo

    http://java.sun.com/javase/6/docs/api/index.html
    package java.io
    InputStream.read(): int
    Reads the next byte of data from the input stream.
    Implementation:
    InputStreamReader
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes them into characters using a specified charset. The charset that it uses may be specified by name or may be given explicitly, or the platform's default charset may be accepted.

  • Help on how to read the content of an XML file from the payload

    I have a receiver channel / mail adapter, that sends e-mails with a XML attachment.
    I’m trying to write a Bean, that should make it possible to rename the attached XML file dynamically.
    In the Bean I want to read the content of the attached XML file, it could be the “order number”.
    The filename should then be “Order number”.XML.
    <u><i>Can anyone help me with how to read the content of the XML file from the payload.</i></u>
    <i><b>Frank</b></i>

    hi,
    check this: http://jakarta.apache.org/poi/

Maybe you are looking for

  • How do you get your music from your ipod on to your computer

    how do you get the music on your ipod on to your itunes account. i just installed itunes on my new laptop how do i get everything that is on my iopd on to my itunes account?

  • Problem in using now () in mysql 5.0

    Hi, I'm using the Mysql 5.0 the now() date type is working some times and some times not working it is showing error Registration.java:62: cannot find symbol symbol : method now() location: class Registration pStmt.setDate(10,now()); ^ 1 error * my c

  • AddAppUser can't associate more than 2 groups

    Has anyone experienced this with this new AXL API on CUCM 7.0? When trying to associate more than 2 groups with an application user, AXL responds with: Could not insert new row - duplicate value in a UNIQUE INDEX column the original request is: <axl:

  • Macbook Pro trackpad partly stops working after 1 touch

    I have a very strange problem with the trackpad on my macbook pro (late 2008, fully updated, SSD, 4Gb). When a mouse is used all is fine. WHen I touch the trackpad ONCE, it will stop working correctly, it will: - not detect a single click - will dete

  • Statistics collection

    Guys, I have a table called ENTITY_VOLUME, which has about 8 partitions. Periodically the business deletes each range of program_id's and hence i drop such partitions and split the last partition to make room for new partitions. Now, i have an issue