User:Jukeboksi/Log/2013: Difference between revisions

From Wikistudy.ByJuho.fi
(tuning the HOWTO on Linux-compatible poor man's backup system)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
= September =
= September =
== 2013-09-02 ==
Full database [[w:backup]] performed


== 2013-09-02 Howto make cheap and easy backups on Linux? ==
== 2013-09-08 - 10 open-source alternatives for small business software  ==
[http://www.pcworld.com/article/2047347/10-open-source-alternatives-for-small-business-software.html 10 open-source alternatives for small business software]
 
== 2013-09-05 - Got the navboxen to work last night after 3 days of work  ==
'''Yippee''' No-more-forehead-to-keyboard - working [[navboxen]] enabled on GloBBA12.SI study wiki :D :D --[[User:Juboxi|Juboxi]] ([[User talk:Juboxi|talk]]) 16:26, 5 September 2013 (EEST)
 
== 2013-09-04 - Partial progress in getting the navboxen and infoboxen to work ==
Progress with the problems of importing the navboxen from Wikipedia though some hurdles still remain before one can be satisfied with the progress. --[[User:Juboxi|Juboxi]] ([[User talk:Juboxi|talk]]) 00:36, 4 September 2013 (EEST)
 
:: See [[Finance]] for the current state of the navboxen. It shows the links in the right contexts but not with right width. This may be related to this one dirty hack we did to get the Scribunto extension to work.
 
== 2013-09-02 - Successfully imported and modified the accounting template from Wikipedia ==
I will start going through Wikipedia's navboxes and infoboxes that would be useful to have in the respective articles. --[[User:Juboxi|Juboxi]] ([[User talk:Juboxi|talk]]) 16:42, 2 September 2013 (EEST)
 
== 2013-09-02 - Installed the Scribunto extension ==
* Installed the Scribunto extension to try to get template export/import from Wikipedia work.
 
== 2013-09-02 - Upgraded MediaWiki to latest stable ==
* Upgraded [[w:MediaWiki]] to latest stable ( 1.21.1 )
 
== 2013-09-02 - Full database backup September 2013 ==
* Full database [[w:backup]] performed on all production machines
 
== 2013-09-02 - A script to merge myy directories and your own machines /home/username/Documents/School directories? ==
A challenge for the engineering computer science students out there. This is beyond jubo-jubo's shell skills.
 
 
== 2013-09-02 - Howto make cheap and easy backups on Linux? ==
To properly do a backup one must:
To properly do a backup one must:
# ) Isolate the information objects that need to be successfully backupped and do it
# ) Isolate the information objects that need to be successfully backupped and do it
::* ''Usually the full home-directory and a full dump of [[w:database]]s is all you need''
::* ''Usually the full home-directory and a full dump of [[w:database]]s is all you need''
::* ''Use a dedicated backup directory on every machine. I call mine /backupmedia. The main point is that it needs to be somewhere outside the directories you are interested in backupping''
::* ''Use a dedicated backup directory on every machine. '''The main point is that it needs to be somewhere outside the directories you are interested in backupping.''' I call mine <tt>/backupmedia</tt> .
:::<tt>'tar cvzf /backupmedia/machinename/homedir.tar.gz /home/yourusername' </tt> Will compress your home directory.
:::Use the <tt>'mysqldump'</tt> command with switches <tt>--all-databases</tt>, the mysql root password and user
# ) VERIFY THE BACKUPS TO WORK BY LOADING INTO A REFERENCE SYSTEM ON NON-PRODUCTION CLOSED SERVER INSTANCE. Not verified truly cannot be called backup because if they are found to be faulty shit will ensue. Check that the .tar.gz's unpack and that the database dumps can be read onto MySQL.
# ) VERIFY THE BACKUPS TO WORK BY LOADING INTO A REFERENCE SYSTEM ON NON-PRODUCTION CLOSED SERVER INSTANCE. Not verified truly cannot be called backup because if they are found to be faulty shit will ensue. Check that the .tar.gz's unpack and that the database dumps can be read onto MySQL.
#) Criss-cross-copy from every machine to every machine / distribute the backups to as many servers, laptops and USB sticks as possible.
#) Criss-cross-copy from every machine to every machine / distribute the backups to as many servers, laptops and USB sticks as possible.  
::*One can then just substitute /media/usb0 to make the  off-line copies with command <tt>'sudo cp -r /backupmedia/* /media/usb0/.'</tt> or <tt>'cp -rf /backupmedia/* /media/usb0/.'</tt> if you don't need to force using sudo rights which I do for some reason on the [[w:USB stick]]. Be adviced that a normal USB key will accept '''any sudo password on any machine''' afaik.
 
:::: Sorted. --[[User:Juboxi|Juboxi]] ([[User talk:Juboxi|talk]]) 14:44, 2 September 2013 (EEST)


:: ''This way we can just substitute /media/usb0 to make the  off-line copies with command 'sudo cp -r /backupmedia/* /media/usb0/.''' or 'cp -rf /backupmedia/* /media/usb0/.' if you don't need to force using sudo rights which I do for some reason on the [[w:USB stick]]. Be adviced that a normal USB key will accept '''any sudo password on any machine''' afaik. 


:::: Sorted. --[[User:Juboxi|Juboxi]] ([[User talk:Juboxi|talk]]) 14:44, 2 September 2013 (EEST)
[[Category:realcontent]]

Latest revision as of 15:21, 17 June 2020

September

2013-09-08 - 10 open-source alternatives for small business software

10 open-source alternatives for small business software

2013-09-05 - Got the navboxen to work last night after 3 days of work

Yippee No-more-forehead-to-keyboard - working navboxen enabled on GloBBA12.SI study wiki :D :D --Juboxi (talk) 16:26, 5 September 2013 (EEST)

2013-09-04 - Partial progress in getting the navboxen and infoboxen to work

Progress with the problems of importing the navboxen from Wikipedia though some hurdles still remain before one can be satisfied with the progress. --Juboxi (talk) 00:36, 4 September 2013 (EEST)

See Finance for the current state of the navboxen. It shows the links in the right contexts but not with right width. This may be related to this one dirty hack we did to get the Scribunto extension to work.

2013-09-02 - Successfully imported and modified the accounting template from Wikipedia

I will start going through Wikipedia's navboxes and infoboxes that would be useful to have in the respective articles. --Juboxi (talk) 16:42, 2 September 2013 (EEST)

2013-09-02 - Installed the Scribunto extension

  • Installed the Scribunto extension to try to get template export/import from Wikipedia work.

2013-09-02 - Upgraded MediaWiki to latest stable

2013-09-02 - Full database backup September 2013

  • Full database w:backup performed on all production machines

2013-09-02 - A script to merge myy directories and your own machines /home/username/Documents/School directories?

A challenge for the engineering computer science students out there. This is beyond jubo-jubo's shell skills.


2013-09-02 - Howto make cheap and easy backups on Linux?

To properly do a backup one must:

  1. ) Isolate the information objects that need to be successfully backupped and do it
  • Usually the full home-directory and a full dump of w:databases is all you need
  • Use a dedicated backup directory on every machine. The main point is that it needs to be somewhere outside the directories you are interested in backupping. I call mine /backupmedia .
'tar cvzf /backupmedia/machinename/homedir.tar.gz /home/yourusername' Will compress your home directory.
Use the 'mysqldump' command with switches --all-databases, the mysql root password and user
  1. ) VERIFY THE BACKUPS TO WORK BY LOADING INTO A REFERENCE SYSTEM ON NON-PRODUCTION CLOSED SERVER INSTANCE. Not verified truly cannot be called backup because if they are found to be faulty shit will ensue. Check that the .tar.gz's unpack and that the database dumps can be read onto MySQL.
  2. ) Criss-cross-copy from every machine to every machine / distribute the backups to as many servers, laptops and USB sticks as possible.
  • One can then just substitute /media/usb0 to make the off-line copies with command 'sudo cp -r /backupmedia/* /media/usb0/.' or 'cp -rf /backupmedia/* /media/usb0/.' if you don't need to force using sudo rights which I do for some reason on the w:USB stick. Be adviced that a normal USB key will accept any sudo password on any machine afaik.
Sorted. --Juboxi (talk) 14:44, 2 September 2013 (EEST)