• Linux Project

    36
    0 Votes
    36 Posts
    6k Views
    thanksajdotcomT

    I have keys setup between my servers so I can ssh without a password, so if you get that setup, these are my scripts...

    On the cloud server:
    #!/bin/sh

    cd /var/www/databases

    mysqldump -u root --password=mypasswordthanksaj > thanksaj.sql
    mysqldump -u root --password=mypassword literaryworksbyaj > literaryworksbyaj.sql
    mysqldump -u root --password=mypassword builtbyart > builtbyart.sql

    rsync -chavzP --stats /var/www/* [email protected]:/var/www/

    **On the local server: **
    #!/bin/sh

    cd /var/www/databases/

    mysql -u root --password=mypassword thanksaj < thanksaj.sql
    mysql -u root --password=mypassword literaryworksbyaj < literaryworksbyaj.sql
    mysql -u root --password=mypassword builtbyart < builtbyart.sql

    So I export the MySQL databases to /var/www/databases as .sql files and then rsync them to the local server. The local server imports said files into its local databases. I use cron to schedule all this.

    Local server:
    0 6,18 * * * /home/aj/scripts/aj-import-wordpress-dbs >> /srv/samba/share/import_wordpress_dbs.log 2>&1

    Cloud server:
    0 5,17 * * * /home/user/scripts/aj-sync-wordpress >> /var/log/aj-logs/sync_wordpress.log 2>&1

    Then I use Unitrends to backup the local server. 🙂

    We'll see how this works!

    Thanks,
    A.J.

  • Droplet Creation Time

    18
    1 Votes
    18 Posts
    4k Views
    tonyshowoffT

    @nadnerB said:

    @tonyshowoff said:

    @scottalanmiller said:

    Here is what they eventually said...

    Thank you for the follow up on this issue. After closer review, it appears the build failed to complete. This resulted in the droplet not being created. You will want to re-attempt creating the droplet. If you have any further questions or concerns, please don't hesitate to let us know.

    Complain I say, complain!

    Lol, love the Foghorn Leghorn reference

    Suh, I challenge you to a duel

  • SQL Server - best practices for SMB

    37
    3 Votes
    37 Posts
    12k Views
    nadnerBN

    @thecreativeone91 said:

    I knew a DBA who we had to teach how to save a word document while she worked with us on some stuff.. and she was also the Database & Programming (C++, VB.NET, Java) professor at a local college

    Sounds like someone who failed upwards into that position of DBA

  • WP-CLI: Command line interface for WordPress

    20
    4 Votes
    20 Posts
    2k Views
    tonyshowoffT

    @thecreativeone91 said:

    @tonyshowoff said:

    @nadnerB said:

    @tonyshowoff said:

    @nadnerB said:

    @tonyshowoff said:

    The slowest, worst written blogging system in existence is great? Well, I guess some people enjoy herpes too. 😛

    lol, bad experience(s), eh?
    Out of genuine interest, what's your favourite?

    Bad experience? I developed on the WordPress code base in the past, it literally is one of the worst code bases there is. It's extremely disorganised, doesn't properly meet any standard in existence, and even today the code is approached as if it's written in PHP 4.1. WordPress has more vulnerabilities than almost any other equally popular piece of software, and also their crappy API leads to crappy plugins which also have tons of vulnerabilities. The key people in WordPress don't know how to program, that's the primary issue.

    I don't have a favourite, they're all shit, and ironically WordPress is the best because it's easiest to get going and has so many options available. It's poorly executed. Turn on query log sometime, a regular page load will probably be about 100 database queries, many of them identical, which screams incompetence. It's sort of funny, WordPress attempts to promote caching tools for problems they themselves have created.

    Here's some more detail:

    http://community.spiceworks.com/topic/post/4257928

    Righto, well that's a good read 🙂
    I would imagine a lot of things are just as messed up

    All you have to do with a crappy piece of software is add a bunch of themes and then people will accept it.

    Wait where you talking about wordpress or windows? 🙂

    Yes

  • Best Naming Convention Ever

    3
    4 Votes
    3 Posts
    486 Views
    scottalanmillerS

    It would be funny if the location was known as Hamsterdam.

  • Vultr

    4
    0 Votes
    4 Posts
    574 Views
    scottalanmillerS

    @IRJ said:

    I wonder how many cloud providers have popped up in the last 12 months

    The bigger question, how many have disappeared?

  • Possible website migration

    38
    1 Votes
    38 Posts
    7k Views
    PSX_DefectorP

    That's the main reason why I was thinking of going dedicated cloud. A beefy server with full control by me, I can spin up those vSwitches without a problem and isolate my VMs behind it.

    Wish I had enough cash to spend on that, even at $100 a month it's not too bad, just don't want to outlay that much to start it up.

  • Today's Project: Testing Digital Ocean

    4
    3 Votes
    4 Posts
    1k Views
    lanceL

    Digital Ocean is great! One of my favorites!

  • Is It Time to Migrate to Web Hosting

    45
    2 Votes
    45 Posts
    10k Views
    ?

    Here's an interesting read http://inlinehostblogger.com/hostgator-vs-bluehost-vs-dreamhost/

    Edit: Now, I'm thinking this might be a sponsored/paid review after reading all of it.

  • Network Related Doubt

    10
    0 Votes
    10 Posts
    3k Views
    LakshmanaL

    @StrongBad Yes now the issue is resolved

  • To GUI or not to GUI?

    23
    0 Votes
    23 Posts
    3k Views
    DashrenderD

    @thecreativeone91 said:

    @Dashrender said:

    @thecreativeone91 said:

    @Dashrender said:

    Not in many users, back when Core was first introduced... It's possible/likely that many vendors selling products meant to be installed on Windows Server now work with Core.

    What applications are you referring? Most things that run on a server could care less if they are a gui or not as they primarily run as services. MS Dymanics is not supported on Core and I've never done it on core nor would I try it.

    Symantec Backup Exec wouldn't run on Core back in the 2008 R2 days. Yes a client would work to Core, but the main install couldn't go on a Core server.

    Backup Exec, you mean the product that's always had lots of problems since symantec took it over. and they took years to even get server 2012 support. Backup Exec is a black sheep anymore.

    Yep I'm talking 5-6 years ago ....

  • Spoke Too Soon.... 151 Front St. is Down

    10
    1 Votes
    10 Posts
    1k Views
    ?

    @Dashrender said:

    @scottalanmiller said:

    @thecreativeone91 said:

    This keeps sounding more and more like an attack to me.. Maybe they will release details. but if that's the case I doubt they will as to not have more negative PR about it.

    This is what I thought but we know these guys well and they responded quickly to us. It was a hardware maintenance window (hence the time) and they had hardware fail during an upgrade.

    That caused most of Canada to loose access?
    damn..

    Two separate instances I think.

  • Pertino and Shoretel

    6
    1 Votes
    6 Posts
    2k Views
    thanksajdotcomT

    Can't wait for the day they create a gateway device!!

  • Cloudatcost

    45
    1 Votes
    45 Posts
    9k Views
    StrongBadS

    Looks like I missed a lot of excitement today.

  • Cloudatcost currently offline

    58
    6 Votes
    58 Posts
    14k Views
    scottalanmillerS

    Looks like all is well.

  • 8 Votes
    19 Posts
    4k Views
    Q

    ConEmu is a great tool. It can take PuTTY to a new level, making it feel a lot better integrated with the desktop.

  • broken avatars

    23
    0 Votes
    23 Posts
    3k Views
    Reid CooperR

    Oh, okay. Well that's good 🙂

  • CPU Card in IBM Server x3950

    5
    0 Votes
    5 Posts
    1k Views
    Reid CooperR

    I agree, you probably need Lenovo to help you here.

  • JIRA Service Desk - Anyone using it?

    9
    1 Votes
    9 Posts
    1k Views
    Reid CooperR

    The Jira products are very good. How do you want to use it?

  • HP Server Shutdown Issue

    10
    0 Votes
    10 Posts
    2k Views
    ?

    @Lakshmana said:

    @thecreativeone91 said:

    listed on the server tag somewhere.

    There is no password is present in the tag Sir

    It should be in two locations like these:

    HP_Proliant_ML360_G6_iLO_Stickers_01.png

    post64ilo1.jpg