how do you view old backup dates

Asked by BJohnosn

I'm running the latest version of ubuntu and to get down to the point I made a few changes and everything was fine until i restarted my computer. I choose to run Ubuntu as the OS it starts and about halfway i get taken to a terminal screen. I've been looking everywhere, maybe just not hard enough, how do i view an old backup date that was created because i didnt write it down when it said, "...if it doesnt work...type...cp /var/backups/xorg/xorg.conf(PART I DONT KNOW)/etc/x11/xorg.conf??? any help would be greatly appreciated, Thanxs

        P.S. if you need to know what i changed that caused the problem maybe you can more directly help fix that, just ask, thanxs

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:
Revision history for this message
Benoit Malet (benoit-malet) said :
#1

Hello !

I think you should be able to find the missing part by issuing this in a console :

ls -l /var/backups/xorg/xorg.conf*

This should list the files beginning with xorg.conf in the directory and show you the date ...

Hope this solves your problem !

Regards,
Benoît

Revision history for this message
BJohnosn (nikeballer2442) said :
#2

so i found my date, but how can i restore to that point of undo the change, the last thing i typed was "sudo nvidia-glx-config enable" ever since the restart it sends me to a console thats asking me to login than the screen flashes back twice and than to a blue screen that reads "failed to start the X server (your graphical interface). It is likely that it is not set up correctly. would you like to view the X server output to diagnose the problem?"

            Thankyou for taking your time to reply to me :)

             Ben

Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#3

You can try with this command:

sudo cp /var/backup/xorg/xorg.conf123456 /etc/X11/xorg.conf

(note that 123456 is to be substituted by the result of the command Benoit gave you).

or with this command:

sudo dpkg-reconfigure -phigh xserver-xorg

Revision history for this message
BJohnosn (nikeballer2442) said :
#4

Thanks Cesare Tirabassi, that solved my question.

Revision history for this message
BJohnosn (nikeballer2442) said :
#5

thankyou so much i jus had to switch back to my nvidia card once i put in that code