LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-24-2016, 08:10 AM   #16
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511

Step 1 - Get your keyboard replaced with a new one as your laptop won't work until you do.

Step 2 - Use a USB key to boot up for backup - it will be faster than CD.
 
Old 07-24-2016, 08:16 AM   #17
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by BeniBela2 View Post
I also have no recent backup, because the rebooting was already too annoying.
Hindsight sure, but that really is no valid reason: instead of completely ignoring given options you could at least have created a tar ball or rsync on removable disk of say /home, /etc and your installed packages list. That's not "settling for less" but taking minimal precautions using the tools at hand, which would have gotten you the majority of things you'd want to save anyway.


Quote:
Originally Posted by BeniBela2 View Post
So now the only option is to remount it from during normal use.
No, the only course of action is to simplify things and solve compounded problems in the right order: first fix laptop (attach USB keyboard, have it cleaned, whatever else) then reconsider the options already given (I'd use rsync to removable disk).
 
Old 07-24-2016, 08:32 AM   #18
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Have a look at
Code:
backup2l
. This will create a tarball of your files in an incremental way.
It will even create a file of currently installed packages, which gets backed up.
It runs automatically on a daily basis - may need a daily reboot to kick it off - not sure.

It won't give a perfectly cloned version of your data - but it will have the basic data.
You won't have to do extra reboots from a CD.
Example:-
Code:
Summary
=======

Backup       Date       Time  |  Size   | Skipped  Files+D |  New  Obs. | Err.
------------------------------------------------------------------------------
all.1        2016-01-21 11:12 |   23.9G |      57    30904 |30904     0 |   16
all.11       2016-02-18 21:51 |    3.3G |      57    34560 | 6307  2651 |    0
all.12       2016-03-19 02:01 |    2.0G |      57    35253 | 2120  1427 |    0
all.13       2016-04-18 22:23 |    4.6G |      57    52012 |19158  2399 |    0
all.14       2016-05-19 13:21 |    2.8G |      57    53638 | 3282  1656 |    1
all.15       2016-06-14 13:04 |    1.2G |      57    51410 | 2680  4908 |    0
all.151      2016-06-17 21:51 |    1.7G |      57    51508 | 1410  1312 |    0
all.152      2016-06-26 05:34 |    1.5G |      57    51775 | 1884  1617 |    0
all.153      2016-07-01 00:43 |  591.4M |      57    51695 | 1238  1318 |    1
all.154      2016-07-04 10:46 |   39.1M |      57    51752 |  512   455 |    0
all.155      2016-07-04 21:17 |   30.9M |      57    51757 |  217   212 |    2
all.2        2016-07-04 21:19 |   35.7G |      57    51755 |51755     0 |   16
all.201      2016-07-09 12:15 |  212.9M |      57    51819 |  362   298 |    0
all.202      2016-07-15 11:44 |   52.2M |      58    51888 |  636   567 |    0
all.2021     2016-07-16 11:26 |   31.3M |      58    51904 |  281   265 |    0
all.2022     2016-07-17 19:01 |   36.6M |      58    51904 |  246   246 |    0
all.2023     2016-07-18 11:49 |   32.6M |      58    51911 |  328   321 |    2
all.2024     2016-07-19 11:58 |   28.8M |      57    51913 |  265   263 |    0
all.2025     2016-07-20 08:54 |   34.6M |      57    51957 |  255   211 |    0
all.203      2016-07-21 11:50 |   46.5M |      57    51937 |  564   515 |    0
all.2031     2016-07-22 12:09 |   51.8M |      57    52536 |  921   322 |    0
all.2032     2016-07-23 11:46 |   40.0M |      57    52595 |  309   250 |    0
all.2033     2016-07-24 13:13 |   46.0M |      57    52087 |  351   859 |    0
Note that most daily backups could be saved on a remote internet device...
 
Old 07-24-2016, 10:58 AM   #19
BeniBela2
Member
 
Registered: Dec 2012
Posts: 52

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JeremyBoden View Post
Step 1 - Get your keyboard replaced with a new one as your laptop won't work until you do.
Sometimes, after a few reboots, it reads no input and boots. I cannot chose a setting, but the count down does not abort, and the default boots.

I am thinking about trying to change the GRUB shortcuts

--edit: ha! found a way! If I press the F and G keys simultanously it writes rf4vbg5 which should trigger a boot, should it not --

Quote:
Originally Posted by JeremyBoden View Post
Step 2 - Use a USB key to boot up for backup - it will be faster than CD.
I am not sure I have a key.

Quote:
Originally Posted by unSpawn View Post
Hindsight sure, but that really is no valid reason: instead of completely ignoring given options you could at least have created a tar ball or rsync on removable disk of say /home, /etc and your installed packages list. That's not "settling for less" but taking minimal precautions using the tools at hand, which would have gotten you the majority of things you'd want to save anyway.
I have some files.

Just not everything

I need to make a backup of everything

Quote:
Originally Posted by unSpawn View Post
first fix laptop (attach USB keyboard, have it cleaned, whatever else)
I have an USB keyboard, or I could not have made this post.

But it is not recognized during boot

I am hoping it will just dry on its own in a few days

Last edited by BeniBela2; 07-24-2016 at 03:56 PM.
 
Old 07-24-2016, 06:45 PM   #20
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Good reason to get a desktop & scrap all laptops.
 
Old 07-30-2016, 02:33 PM   #21
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
Have you tried changing your fstab to mount / read-only?
 
Old 07-30-2016, 06:48 PM   #22
BeniBela2
Member
 
Registered: Dec 2012
Posts: 52

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by maples View Post
Have you tried changing your fstab to mount / read-only?
I did not try that.

I would like to avoid a reboot.



Although now something strange has happened to me.

Yesterday I copied some files to the backup drive and forgot to turn it off. This morning the computer was surprisingly out of date and I could not find recent files.

It had booted from the backup drive to a state of the last year backup. Weird. I did not think it would take priority

So the original drive was unmounted, and I could copy everything to a unused partition of the backup drive (it is much larger). Now I have a recent backup. yeah.
 
Old 07-31-2016, 05:21 AM   #23
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
So you have a copy of a backup.

You didn't try to access your live files.
Your boot problems do not suggest your actual live files are damaged in any way.

Have you had your laptops keyboard repaired yet?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Raspberry Pi remount rootfs read-only kzo81 Linux - Embedded & Single-board computer 2 09-05-2014 12:37 PM
remount read only filesystems 7hewh0re Linux - Newbie 1 01-24-2014 05:29 AM
remount read write alaios Linux - General 3 05-18-2011 04:34 AM
Remount root filesystem read-only zsolt_tuser Linux - General 11 04-27-2011 04:01 PM
Getting thrown into read-only mode - not able to remount dleangen Linux - General 19 06-07-2007 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration